summaryrefslogtreecommitdiffstats
path: root/test/big.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2013-08-09 20:42:27 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2013-08-09 20:42:27 (GMT)
commit5dcd9c2dfcfe50cb8aea4e5ff4399aeb17d91296 (patch)
treeabd7567a4bf420369e8c5988a33e174aee8cb0af /test/big.c
parentb5ad01c7e18ef29ef05543cd8d40e98efbbecc83 (diff)
downloadhdf5-5dcd9c2dfcfe50cb8aea4e5ff4399aeb17d91296.zip
hdf5-5dcd9c2dfcfe50cb8aea4e5ff4399aeb17d91296.tar.gz
hdf5-5dcd9c2dfcfe50cb8aea4e5ff4399aeb17d91296.tar.bz2
[svn-r23984] Merged 2 23932 from reduced_warnings branch:
Changes applied to eliminate several compiler warnings in the test directory in files: dt_arith.c filter_fail.c big.c dynlib2.c dynlib3.c Also an HDassert(0 && "Unknown type"); statement was added to all 29 combination s of case OTHER: default: See crucible review HDF5-145 for more details. Tested with h5committest.
Diffstat (limited to 'test/big.c')
-rw-r--r--test/big.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/big.c b/test/big.c
index dffbbeb..5a70c26 100644
--- a/test/big.c
+++ b/test/big.c
@@ -393,6 +393,10 @@ writer (char* filename, hid_t fapl, fsizes_t testsize, int wrt_n)
HDfprintf(stdout, "Unexpected file size of NOFILE\n");
goto error;
break;
+
+ default:
+ HDassert(0 && "Invalid test size.");
+ break;
}
/*
@@ -604,7 +608,6 @@ usage(void)
int testvfd(vfd_t vfd)
{
hid_t fapl=-1;
- hsize_t family_size;
char filename[1024];
fsizes_t testsize;