[trunk] Remove warnings about unused values introduced in r2710

Thanks to Matthieu Darbois for patch
Fixes issue 290
This commit is contained in:
Mathieu Malaterre 2014-03-14 08:44:53 +00:00
parent 6e22c4f68a
commit fd3f7ca2bb
1 changed files with 7 additions and 1 deletions

View File

@ -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,