Opened 8 years ago

Closed 8 years ago

#9788 closed bug (fixed)

[PATCH] GIFTranslator: fix incorrectly initialized fTransparentMode

Reported by: mt Owned by: phoudoin
Priority: normal Milestone: R1
Component: Add-Ons/Translators/GIF Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


Hi, in add-ons/translators/gif/Save Palette.cpp, fTransparentMode initialized incorrectly (pointed by gcc4.8).

/home/haiku/haiku/haiku/src/add-ons/translators/gif/SavePalette.cpp: In constructor 'SavePalette::SavePalette(BBitmap*, int32)':
/home/haiku/haiku/haiku/src/add-ons/translators/gif/SavePalette.cpp:242:1: error: 'SavePalette::fTransparentMode' is initialized with itself [-Werror=init-self]
 SavePalette::SavePalette(BBitmap *bitmap, int32 maxSizeInBits)
cc1plus: all warnings being treated as errors

Attachments (1)

0001-GIFTranslator:-fix-incorrectly-initialized-fTransparentModelf.patch (886 bytes ) - added by mt 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by mt, 8 years ago

patch: 01

comment:2 by korli, 8 years ago

Owner: changed from nobody to phoudoin
Status: newassigned

comment:3 by phoudoin, 8 years ago

Resolution: fixed
Status: assignedclosed

Patch applied in hrev45710. Thanks.

And thanks everybody for *not* having underlined why I've succeeded to screw the first apply attempt ;-).

Note: See TracTickets for help on using tickets.