diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-17 16:11:48 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-17 16:11:48 +0000 |
| commit | 6fc2b568477386d8c7031e7e421750cf1444da2e (patch) | |
| tree | 815fcc2125a0876fa493d4d252a11f59ee69f33a /libopenjpeg/jp2.c | |
| parent | 773bd891308d37fbcdaf264ed10de0e2a35fec66 (diff) | |
[1.5] Remove another set of simple warnings
Diffstat (limited to 'libopenjpeg/jp2.c')
| -rw-r--r-- | libopenjpeg/jp2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libopenjpeg/jp2.c b/libopenjpeg/jp2.c index 37faec02..9472214d 100644 --- a/libopenjpeg/jp2.c +++ b/libopenjpeg/jp2.c @@ -522,10 +522,8 @@ static opj_bool jp2_read_cmap(opj_jp2_t *jp2, opj_cio_t *cio, static void jp2_apply_cdef(opj_image_t *image, opj_jp2_color_t *color) { opj_jp2_cdef_info_t *info; - int color_space; unsigned short i, n, cn, typ, asoc, acn; - color_space = image->color_space; info = color->jp2_cdef->info; n = color->jp2_cdef->n; @@ -535,6 +533,7 @@ static void jp2_apply_cdef(opj_image_t *image, opj_jp2_color_t *color) if((asoc = info[i].asoc) == 0) continue; cn = info[i].cn; typ = info[i].typ; acn = asoc - 1; + (void)typ; if(cn != acn) { |
