diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h52jpeg/h52jpeg.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tools/h52jpeg/h52jpeg.c b/tools/h52jpeg/h52jpeg.c index 7a21419..84fa145 100644 --- a/tools/h52jpeg/h52jpeg.c +++ b/tools/h52jpeg/h52jpeg.c @@ -110,35 +110,6 @@ int main(int argc, const char *argv[]) case 't': image_type = opt_arg; - if ( HDstrcmp( image_type, "gray" ) == 0 ) - { - opt.image_type = 0; - } - else if ( HDstrcmp( image_type, "true" ) == 0 ) - { - opt.image_type = 1; - } - else - { - printf("<%s> is an invalid image type\n", image_type); - exit(EXIT_FAILURE); - } - - - if ( HDstrcmp( image_type, "gray" ) == 0 ) - { - opt.image_type = 0; - } - else if ( HDstrcmp( image_type, "true" ) == 0 ) - { - opt.image_type = 1; - } - else - { - printf("<%s> is an invalid image type\n", image_type); - exit(EXIT_FAILURE); - } - if ( HDstrcmp( image_type, "gray" ) == 0 ) { |