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 id17072
push userdholbert@mozilla.com
push dateFri, 19 Nov 2010 17:00:57 +0000
treeherdermozilla-central@f4fc9593ca7d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs613289
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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();
 }