Remove warning about unused args

This commit is contained in:
Mathieu Malaterre 2011-12-16 10:40:14 +00:00
parent e576aa9f06
commit 2a2f169b27
3 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,7 @@ 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));

View File

@ -90,6 +90,7 @@ int write_phixfaix( int coff, int compno, opj_codestream_info_t cstr_info, opj_b
int resno, precno, layno, num_packet;
int numOfres, numOfprec, numOflayers;
packet.end_ph_pos = packet.start_pos = -1;
(void)EPHused; /* unused ? */
if( j2klen > pow( 2, 32)){
size_of_coding = 8;

View File

@ -94,6 +94,7 @@ int write_ppixfaix( int coff, int compno, opj_codestream_info_t cstr_info, opj_b
int resno, precno, layno, num_packet;
int numOfres, numOfprec, numOflayers;
packet.end_ph_pos = packet.start_pos = -1;
(void)EPHused; /* unused ? */
if( j2klen > pow( 2, 32)){
size_of_coding = 8;