From 687a43e1996a91abe4c9e4f9f9e27e8841f5be51 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Fri, 2 Mar 2012 14:01:15 +0000 Subject: [PATCH] [trunk] Import change from 1.5 branch over to trunk --- libopenjpeg/cidx_manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libopenjpeg/cidx_manager.c b/libopenjpeg/cidx_manager.c index 4b1c242c..f3b251ff 100644 --- a/libopenjpeg/cidx_manager.c +++ b/libopenjpeg/cidx_manager.c @@ -71,7 +71,9 @@ int write_cidx( int offset, opj_cio_t *cio, opj_image_t *image, opj_codestream_i opj_jp2_box_t *box; int num_box = 0; opj_bool EPHused; + (void)image; /* unused ? */ + lenp = -1; box = (opj_jp2_box_t *)opj_calloc( 32, sizeof(opj_jp2_box_t)); for (i=0;i<2;i++){