summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-06-25 21:12:17 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-06-25 21:12:17 (GMT)
commita0dbf6ec46a6700a0ffcb00b44bc0c791f60a15c (patch)
tree5987844c5bd9032190a4afe1a4f3bd436c1fc451
parent88982c9301c094c7d9c1eb2ae040dfc6907bbc87 (diff)
downloadhdf5-a0dbf6ec46a6700a0ffcb00b44bc0c791f60a15c.zip
hdf5-a0dbf6ec46a6700a0ffcb00b44bc0c791f60a15c.tar.gz
hdf5-a0dbf6ec46a6700a0ffcb00b44bc0c791f60a15c.tar.bz2
[svn-r15280] code cleaning (for some reason svn has been duplicating blocks of code)
-rw-r--r--tools/h52jpeg/h52jpeg.c29
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 )
{