mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-10-05 04:03:28 +03:00
[svn-r15280] code cleaning (for some reason svn has been duplicating blocks of code)
This commit is contained in:
1 parent
88982c9301
commit
a0dbf6ec46
1 file changed
-29
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user