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

()

Core
ImageLib
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: dholbert, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

6 years ago
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
(Reporter)

Comment 1

6 years ago
CC'ing jwir3 since he touched this code last. :)

Comment 2

6 years ago
Already fixed by http://hg.mozilla.org/mozilla-central/rev/5cc8a9432812
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.