summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-07-30 18:46:34 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-07-30 18:46:34 +0200
commitffa9a4f6585dc199fb850dee4255e7a7b84aad63 (patch)
tree19f234db6513e281b7f14ae52512b4815dbcfeb7 /src
parentc22cbd8bdf8ff2ae372f94391a4be2d322b36b41 (diff)
Fix warnings in USE_JPIP compilation mode
Diffstat (limited to 'src')
-rw-r--r--src/lib/openjp2/jp2.c4
1 files changed, 4 insertions, 0 deletions
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);