Closed Bug 1157629 Opened 6 years ago Closed 6 years ago

Uninitialized member warning in BufferAlphaColor

Categories

(Core :: Graphics, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: nical, Assigned: nical)

Details

Attachments

(1 file)

BufferAlphaColor::mAlpha is left uninitialized by the constructor. It's actually not an issue since we only ever read from it if we have written into it with PushSolidColor (see needToRestore in gfxTextRun::Draw). But it's trivial enough to just initialize it to shut coverity warning up.
Attachment #8596506 - Flags: review?(jdaggett)
Attachment #8596506 - Flags: review?(jdaggett) → review+
https://hg.mozilla.org/mozilla-central/rev/8bd57bc35131
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.