diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-30 16:34:17 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-30 16:34:17 +0000 |
| commit | 47b18d89f6bdad128257d4b617e4de244a86a2b8 (patch) | |
| tree | 98a7b3e9695fc690f3f83a47dfa923550761f6d6 | |
| parent | 3f5b474b16c3216d80e76711eea79a7cb3aa802e (diff) | |
[trunk] COMP: Fix one warning identified by clang31 :
openjpeg/applications/codec/j2k_dump.c:362 col 29: warning: equality comparison
with extraneous parentheses
(thanks to Hans Johnson)
| -rw-r--r-- | applications/codec/j2k_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/codec/j2k_dump.c b/applications/codec/j2k_dump.c index fbdbce91..6c63c2ca 100644 --- a/applications/codec/j2k_dump.c +++ b/applications/codec/j2k_dump.c @@ -354,12 +354,12 @@ int parse_cmdline_decoder(int argc, char **argv, opj_dparameters_t *parameters,i fprintf(stderr, "Only one format allowed! Valid format PGM, PPM, PNM, PGX, BMP, TIF, RAW and TGA!!\n"); return 1; } - if(!((parameters->outfile[0] == 0))){ + if(!(parameters->outfile[0] == 0)){ fprintf(stderr, "Error: options -ImgDir and -o cannot be used together !!\n"); return 1; } }else{ - if((parameters->infile[0] == 0) ) { + if(parameters->infile[0] == 0) { fprintf(stderr, "Example: %s -i image.j2k\n",argv[0]); fprintf(stderr, " Try: %s -h\n",argv[0]); return 1; |
