Opened 6 years ago

Closed 6 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:
Has a Patch: yes 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)

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 6 years ago by mt

Has a Patch: set

comment:2 Changed 6 years ago by korli

Owner: changed from nobody to phoudoin
Status: newassigned

comment:3 Changed 6 years ago by phoudoin

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.