Opened 12 years ago
Closed 12 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 |
Description
Hi, in add-ons/translators/gif/Save Palette.cpp, fTransparentMode initialized incorrectly (pointed by gcc4.8). http://cgit.haiku-os.org/haiku/tree/src/add-ons/translators/gif/SavePalette.cpp#n242
/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)
Change History (4)
by , 12 years ago
comment:1 by , 12 years ago
patch: | 0 → 1 |
---|
comment:2 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Patch applied in hrev45710. Thanks.
And thanks everybody for *not* having underlined why I've succeeded to screw the first apply attempt ;-).