DESTROY: warning: value computed is not used

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
yecril71pl
Posts: 81
Joined: 2011-02-08T11:06:09-07:00
Authentication code: 8675308
Location: Warsaw, Poland
Contact:

DESTROY: warning: value computed is not used

Post by yecril71pl »

Magick.xs: In function 'XS_Image__Magick_DESTROY':
Magick.xs:3442:9: warning: value computed is not used
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: DESTROY: warning: value computed is not used

Post by magick »

Thanks, we applied a patch for the problem in the Subversion repository. It will be available by sometime tomorrow.
User avatar
yecril71pl
Posts: 81
Joined: 2011-02-08T11:06:09-07:00
Authentication code: 8675308
Location: Warsaw, Poland
Contact:

Re: DESTROY: warning: value computed is not used

Post by yecril71pl »

I would say

Code: Select all

{  
SV *const discarded_key = hv_delete(hv,message,(long) strlen(message),G_DISCARD); 
assert (discarded_key == NULL); } 

Post Reply