From 9b48b43b1629d0dea7441d76619c566d77569d43 Mon Sep 17 00:00:00 2001 From: Kp Date: Thu, 19 Feb 2015 03:20:53 +0000 Subject: [PATCH] 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. --- common/include/rle.h | 1 - 1 file changed, 1 deletion(-) diff --git a/common/include/rle.h b/common/include/rle.h index 000b5f41c..705e6ef7e 100644 --- a/common/include/rle.h +++ b/common/include/rle.h @@ -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);