Remove __attribute_warn_unused_result on gr_rle_decode
Per btb, callers currently ignore the result, causing warnings on OS X clang, but not on gcc. Remove __attribute_warn_unused_result for now.
This commit is contained in:
parent
49a7599ccf
commit
9b48b43b16
|
@ -61,7 +61,6 @@ static inline rle_position_t rle_end(const T1 &src, T2 &dst)
|
|||
return {end(src), end(dst)};
|
||||
}
|
||||
|
||||
__attribute_warn_unused_result
|
||||
rle_position_t gr_rle_decode(rle_position_t b, const rle_position_t e);
|
||||
ubyte * gr_rle_find_xth_pixel( ubyte *src, int x,int * count, ubyte color );
|
||||
int gr_bitmap_rle_compress(grs_bitmap &bmp);
|
||||
|
|
Loading…
Reference in a new issue