Page 1 of 1

Possible uninitialized variable

Posted: 2015-02-28T10:51:54-07:00
by Danack
magick/channel.c: In function ‘SetImageAlphaChannel’:
magick/channel.c:886:9: warning: ‘pixel.opacity’ may be used uninitialized in this function [-Wuninitialized]
It does appear that the value might be used without being initialised, but I haven't checked through each macro to be sure.

Re: Possible uninitialized variable

Posted: 2015-02-28T13:26:07-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.9.0-9 Beta, available by sometime tomorrow. Thanks.