[trunk] remove some simple warnings about unused params

This commit is contained in:
Mathieu Malaterre 2014-03-03 11:40:59 +00:00
parent 25255c4ed1
commit b330c10492
3 changed files with 10 additions and 5 deletions

View File

@ -3053,6 +3053,7 @@ static int imagetoraw_common(opj_image_t * image, const char *outfile, OPJ_BOOL
int line, row, curr, mask; int line, row, curr, mask;
int *ptr; int *ptr;
unsigned char uc; unsigned char uc;
(void)big_endian;
if((image->numcomps * image->x1 * image->y1) == 0) if((image->numcomps * image->x1 * image->y1) == 0)
{ {

View File

@ -42,7 +42,7 @@
* or * or
* % ./jpip_to_jp2 input.jpp output.jp2 * % ./jpip_to_jp2 input.jpp output.jp2
*/ */
static int jpip_to_jp2(int argc,char *argv[]) static int jpip_to_jp2(char *argv[])
{ {
jpip_dec_param_t *dec; jpip_dec_param_t *dec;
@ -74,7 +74,7 @@ static int jpip_to_jp2(int argc,char *argv[])
* or * or
* % ./jpip_to_j2k input.jpp output.j2k * % ./jpip_to_j2k input.jpp output.j2k
*/ */
static int jpip_to_j2k(int argc,char *argv[]) static int jpip_to_j2k(char *argv[])
{ {
jpip_dec_param_t *dec; jpip_dec_param_t *dec;
@ -111,11 +111,11 @@ int main(int argc,char *argv[])
/* strcasecmp ? */ /* strcasecmp ? */
if( strcmp(ext, ".jp2" ) == 0 ) if( strcmp(ext, ".jp2" ) == 0 )
{ {
return jpip_to_jp2(argc,argv); return jpip_to_jp2(argv);
} }
if( strcmp(ext, ".j2k" ) == 0 ) if( strcmp(ext, ".j2k" ) == 0 )
{ {
return jpip_to_j2k(argc,argv); return jpip_to_j2k(argv);
} }
} }

View File

@ -1,3 +1,7 @@
#include "openjpeg.h" #include "openjpeg.h"
int main(int argc, char **argv) { return 0; } int main(int argc, char **argv) {
(void)argc;
(void)argv;
return 0;
}