Bug 613289: Remove unused variable 'result' from nsAudioStream::AllocateStream. r+a=dougt DONTBUILD
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 19 Nov 2010 08:56:23 -0800
changeset 57904 f4fc9593ca7da62daf47914845c0a0bc61aa265e
parent 57903 fe3ee697e942ab7e390702b3a035491e4fc0f30c
child 57905 fd756976e52cca1b7af719c1d782f40d706f2548
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
bugs613289
milestone2.0b8pre
Bug 613289: Remove unused variable 'result' from nsAudioStream::AllocateStream. r+a=dougt DONTBUILD
content/media/nsAudioStream.cpp
--- a/content/media/nsAudioStream.cpp
+++ b/content/media/nsAudioStream.cpp
@@ -329,18 +329,16 @@ nsAudioStream::GetGlobalThread()
   return gAudioPlaybackThread;
 #else
   return nsnull;
 #endif
 }
 
 nsAudioStream* nsAudioStream::AllocateStream()
 {
-  nsAudioStream* result = nsnull;
-
 #ifdef MOZ_IPC
   if (XRE_GetProcessType() == GeckoProcessType_Content) {
     return new nsAudioStreamRemote();
   }
 #endif
   return new nsAudioStreamLocal();
 }