From a0dbf6ec46a6700a0ffcb00b44bc0c791f60a15c Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Wed, 25 Jun 2008 16:12:17 -0500 Subject: [svn-r15280] code cleaning (for some reason svn has been duplicating blocks of code) --- tools/h52jpeg/h52jpeg.c | 29 ----------------------------- 1 file changed, 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 ) { -- cgit v0.12