Commit 5d04fbd6 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Added "dummy" return statements in some io.c routines to avoid

stupid warnings by the compiler. 



Former-commit-id: 1efb057e22037d04f9c923a661c5486b74bba43d
parent 3bc8e4e8
......@@ -70,7 +70,7 @@ static hid_t hdf5Type(enum DATA_TYPE type)
case ULONGLONG: return H5T_NATIVE_ULLONG;
case FLOAT: return H5T_NATIVE_FLOAT;
case DOUBLE: return H5T_NATIVE_DOUBLE;
default: error("Unknown type");
default: error("Unknown type"); return 0;
}
}
......@@ -89,7 +89,7 @@ static size_t sizeOfType(enum DATA_TYPE type)
case ULONGLONG: return sizeof(unsigned long long);
case FLOAT: return sizeof(float);
case DOUBLE: return sizeof(double);
default: error("Unknown type");
default: error("Unknown type"); return 0;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment