Bug 759535 - Cleanup unused variable from Bug 733553. r=joe
authorAdam Dane [:hobophobe] <unusualtears@gmail.com>
Wed, 30 May 2012 00:25:34 -0500
changeset 101082 00321b8ed5c3722629abf395f1b06fdb022c0b0f
parent 101081 9ab3ac95813f3e08a00223db63e1c064356f4d96
child 101083 d598ff78094af4f3ce255e767229dd4b222bca80
push id1316
push userakeybl@mozilla.com
push dateMon, 27 Aug 2012 22:37:00 +0000
treeherdermozilla-beta@db4b09302ee2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjoe
bugs759535, 733553
milestone16.0a1
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 759535 - Cleanup unused variable from Bug 733553. r=joe
image/src/RasterImage.cpp
--- a/image/src/RasterImage.cpp
+++ b/image/src/RasterImage.cpp
@@ -1451,17 +1451,16 @@ RasterImage::AddSourceData(const char *a
   // This call should come straight from necko - no reentrancy allowed
   NS_ABORT_IF_FALSE(!mInDecoder, "Re-entrant call to AddSourceData!");
 
   // Starting a new part's frames, let's clean up before we add any
   // This needs to happen just before we start getting EnsureFrame() call(s),
   // so that there's no gap for anything to miss us.
   if (mBytesDecoded == 0) {
     // Our previous state may have been animated, so let's clean up
-    bool wasAnimating = mAnimating;
     if (mAnimating) {
       StopAnimation();
       mAnimating = false;
     }
     mAnimationFinished = false;
     if (mAnim) {
       delete mAnim;
       mAnim = nsnull;