From: Even Rouault Date: Sun, 30 Jul 2017 16:46:34 +0000 (+0200) Subject: Fix warnings in USE_JPIP compilation mode X-Git-Tag: v2.2.0~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffa9a4f6585dc199fb850dee4255e7a7b84aad63;p=openjpeg Fix warnings in USE_JPIP compilation mode --- diff --git a/src/lib/openjp2/jp2.c b/src/lib/openjp2/jp2.c index 6bc704e2..1211ab5d 100644 --- a/src/lib/openjp2/jp2.c +++ b/src/lib/openjp2/jp2.c @@ -3246,6 +3246,8 @@ static OPJ_BOOL opj_jpip_write_fidx(opj_jp2_t *jp2, OPJ_OFF_T j2k_codestream_exit; OPJ_BYTE l_data_header [24]; + OPJ_UNUSED(jp2); + /* preconditions */ assert(jp2 != 00); assert(cio != 00); @@ -3279,6 +3281,8 @@ static OPJ_BOOL opj_jpip_write_cidx(opj_jp2_t *jp2, OPJ_OFF_T j2k_codestream_exit; OPJ_BYTE l_data_header [24]; + OPJ_UNUSED(jp2); + /* preconditions */ assert(jp2 != 00); assert(cio != 00);