Remove warning about unused args
This commit is contained in:
parent
e576aa9f06
commit
2a2f169b27
|
@ -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;
|
opj_jp2_box_t *box;
|
||||||
int num_box = 0;
|
int num_box = 0;
|
||||||
opj_bool EPHused;
|
opj_bool EPHused;
|
||||||
|
(void)image; /* unused ? */
|
||||||
|
|
||||||
lenp = -1;
|
lenp = -1;
|
||||||
box = (opj_jp2_box_t *)opj_calloc( 32, sizeof(opj_jp2_box_t));
|
box = (opj_jp2_box_t *)opj_calloc( 32, sizeof(opj_jp2_box_t));
|
||||||
|
|
|
@ -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 resno, precno, layno, num_packet;
|
||||||
int numOfres, numOfprec, numOflayers;
|
int numOfres, numOfprec, numOflayers;
|
||||||
packet.end_ph_pos = packet.start_pos = -1;
|
packet.end_ph_pos = packet.start_pos = -1;
|
||||||
|
(void)EPHused; /* unused ? */
|
||||||
|
|
||||||
if( j2klen > pow( 2, 32)){
|
if( j2klen > pow( 2, 32)){
|
||||||
size_of_coding = 8;
|
size_of_coding = 8;
|
||||||
|
|
|
@ -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 resno, precno, layno, num_packet;
|
||||||
int numOfres, numOfprec, numOflayers;
|
int numOfres, numOfprec, numOflayers;
|
||||||
packet.end_ph_pos = packet.start_pos = -1;
|
packet.end_ph_pos = packet.start_pos = -1;
|
||||||
|
(void)EPHused; /* unused ? */
|
||||||
|
|
||||||
if( j2klen > pow( 2, 32)){
|
if( j2klen > pow( 2, 32)){
|
||||||
size_of_coding = 8;
|
size_of_coding = 8;
|
||||||
|
|
Loading…
Reference in New Issue