Modified by:[EMAIL PROTECTED]
Reviewed by:
Date:2/11/2005
Project:Helix Symbian Port
Synopsis:Remove 'unused variable' warnings


Overview:
Removed lines where unused variables appear in order to remove respective
warning.
Also add '#ifdef' directives in order to declare some variables only in the
specific platform that are used.


audio/device
[platform\\symbian\\audiosvr\\mmf\\audio_session-mmf.cp]        <Removed lines
where there was an unused variable warnings>
filesystem/httplite



Image Size and Heap Use impact: None
Platforms and Profiles Affected: symbian-70s-thumb,
helix-client-s60-advanced
Distribution Libraries Affected: None
Distribution library impact and planned action: None
Platforms and Profiles Build Verified: symbian-70s-thumb,
helix-client-s60-advanced
Platforms and Profiles Functionality verified: symbian-70s-thumb,
helix-client-s60-advanced
Branch: 130NepX and HEAD


Copyright assignment:
I agree to assign to RealNetworks full copyright ownership of the code
represented by the attached patch. I warrant that I am legally entitled to
grant the copyright assignment and that my contribution does not violate any
law or breach any contract. I understand that RealNetworks may license this
code under RPSL, RCSL, and/or any other license at RealNetworks' sole
discretion.


Index: device/platform/symbian/audsymbian.cpp
===================================================================
RCS file: /cvsroot/audio/device/platform/symbian/audsymbian.cpp,v
retrieving revision 1.23.2.3
diff -u -r1.23.2.3 audsymbian.cpp
--- device/platform/symbian/audsymbian.cpp      9 Jul 2004 02:01:39 -0000
1.23.2.3
+++ device/platform/symbian/audsymbian.cpp      11 Feb 2005 15:55:47 -0000
@@ -78,7 +78,8 @@
       m_uMaxDevVolume(100)
 {
     CActiveScheduler::Add(this);
-    TInt err = m_iTimer.CreateLocal();
+    TInt err;                                                  // TO FIX 
WARNING UNUSED VARIABLE
+       err = m_iTimer.CreateLocal();
     HX_ASSERT(KErrNone==err);
 }

@@ -372,7 +373,7 @@

     if (m_deviceOpen)
         return HXR_OK;
-
+
     if(!m_pAudioStream)
     {
         m_pAudioStream = new HXSymbianAudioClient;
Index: device/platform/symbian/audiosvr/mmf/audio_session-mmf.cpp
===================================================================
RCS file:
/cvsroot/audio/device/platform/symbian/audiosvr/mmf/audio_session-mmf.cpp,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 audio_session-mmf.cpp
--- device/platform/symbian/audiosvr/mmf/audio_session-mmf.cpp  9 Jul 2004
02:01:33 -0000  1.1.2.2
+++ device/platform/symbian/audiosvr/mmf/audio_session-mmf.cpp  11 Feb 2005
15:58:24 -0000
@@ -351,7 +351,6 @@
 void HXSymbianAudioSession::Write()
 {
     TInt result = KErrArgument;
-    TInt err = KErrNone;
     IHXBuffer* pAudioBuf = (IHXBuffer*)Message().Ptr0();

     if (pAudioBuf)
@@ -546,8 +545,6 @@

 void HXSymbianAudioSession::BufferToBeFilled(CMMFBuffer* aBuffer)
 {
-    TInt err = KErrUnderflow;
-
     m_pData = aBuffer;

     m_nLastSampleCount = m_pStream->SamplesPlayed();


_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to