diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2013-09-28 20:40:01 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2013-09-28 20:40:01 (GMT) |
commit | bbd9ad0b277057d43ea80f7d640f880e888bd2fa (patch) | |
tree | 60d9eba1ef79fd56f0a6b5d05c9b3ba76061108c | |
parent | 421e7549a51278be725053146d76d3e631917f44 (diff) | |
download | hdf5-bbd9ad0b277057d43ea80f7d640f880e888bd2fa.zip hdf5-bbd9ad0b277057d43ea80f7d640f880e888bd2fa.tar.gz hdf5-bbd9ad0b277057d43ea80f7d640f880e888bd2fa.tar.bz2 |
[svn-r24214] Put in proper error message if unexpected switch values happened.
Tested: h5committest.
-rw-r--r-- | test/big.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -395,7 +395,8 @@ writer (char* filename, hid_t fapl, fsizes_t testsize, int wrt_n) break; default: - HDassert(0 && "Invalid test size."); + HDfprintf(stdout, "Unexpected file size(%d)\n", testsize); + goto error; break; } |