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

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: dholbert, Unassigned)

Tracking

(Blocks 1 bug)

Trunk
x86_64
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

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: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.