From ffa9a4f6585dc199fb850dee4255e7a7b84aad63 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 30 Jul 2017 18:46:34 +0200 Subject: [PATCH] Fix warnings in USE_JPIP compilation mode --- src/lib/openjp2/jp2.c | 4 ++++ 1 file changed, 4 insertions(+) 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);