diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-08-10 08:12:10 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-08-10 08:12:10 +0000 |
| commit | 676f8f189f338ababaf67fe652c708e82770d524 (patch) | |
| tree | 6744b58e9faf0c9538c7c217bebd2b68c9b81775 /libopenjpeg/jp2.c | |
| parent | df44837b0731ab7c231b8b3159c5f0600ee2f5e8 (diff) | |
removed unused parameters warnings with the solution proposed by myself and Bob Friesenhahn
Diffstat (limited to 'libopenjpeg/jp2.c')
| -rw-r--r-- | libopenjpeg/jp2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libopenjpeg/jp2.c b/libopenjpeg/jp2.c index 39d48a5f..9c9c476f 100644 --- a/libopenjpeg/jp2.c +++ b/libopenjpeg/jp2.c @@ -398,6 +398,9 @@ static opj_bool jp2_read_pclr(opj_jp2_t *jp2, opj_cio_t *cio, unsigned short i, j; unsigned char uc; + OPJ_ARG_NOT_USED(box); + OPJ_ARG_NOT_USED(jp2); + /* Part 1, I.5.3.4: 'There shall be at most one Palette box inside * a JP2 Header box' : */ @@ -446,6 +449,9 @@ static opj_bool jp2_read_cmap(opj_jp2_t *jp2, opj_cio_t *cio, opj_jp2_cmap_comp_t *cmap; unsigned short i, nr_channels; + OPJ_ARG_NOT_USED(box); + OPJ_ARG_NOT_USED(jp2); + /* Need nr_channels: */ if(color->jp2_pclr == NULL) return OPJ_FALSE; @@ -511,6 +517,9 @@ static opj_bool jp2_read_cdef(opj_jp2_t *jp2, opj_cio_t *cio, opj_jp2_cdef_info_t *info; unsigned short i, n; + OPJ_ARG_NOT_USED(box); + OPJ_ARG_NOT_USED(jp2); + /* Part 1, I.5.3.6: 'The shall be at most one Channel Definition box * inside a JP2 Header box.' */ |
