From: Mathieu Malaterre Date: Fri, 14 Mar 2014 08:44:53 +0000 (+0000) Subject: [trunk] Remove warnings about unused values introduced in r2710 X-Git-Tag: version.2.0.1~4^2~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd3f7ca2bbd7850ea67652ff42e65454ce5334cd;p=openjpeg [trunk] Remove warnings about unused values introduced in r2710 Thanks to Matthieu Darbois for patch Fixes issue 290 --- diff --git a/src/lib/openjp2/t2.c b/src/lib/openjp2/t2.c index 56d5ee99..82d7a78f 100644 --- a/src/lib/openjp2/t2.c +++ b/src/lib/openjp2/t2.c @@ -315,7 +315,13 @@ OPJ_BOOL opj_t2_encode_packets( opj_t2_t* p_t2, #if 0 #define JAS_FPRINTF fprintf #else -#define JAS_FPRINTF +/* issue 290 */ +static void opj_null_jas_fprintf(FILE* file, const char * format, ...) +{ + (void)file; + (void)format; +} +#define JAS_FPRINTF opj_null_jas_fprintf #endif OPJ_BOOL opj_t2_decode_packets( opj_t2_t *p_t2,