Closed Bug 721804 Opened 9 years ago Closed 9 years ago

GCC 4.6 build warning: image/src/RasterImage.cpp:400:13: warning: variable 'frameToUse' set but not used [-Wunused-but-set-variable]

Categories

(Core :: ImageLib, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Unassigned)

References

(Blocks 1 open bug, )

Details

GCC 4.6 build warning:
{
image/src/RasterImage.cpp:400:13: warning: variable 'frameToUse' set but not used [-Wunused-but-set-variable]
}

The only mentions of this variable are:
>398   imgFrame *frameToUse = nsnull;
and
>401     frameToUse = nextFrame;

http://mxr.mozilla.org/mozilla-central/source/image/src/RasterImage.cpp#398
CC'ing jwir3 since he touched this code last. :)
Already fixed by http://hg.mozilla.org/mozilla-central/rev/5cc8a9432812
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.