summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-10-15 18:38:23 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-10-15 18:38:23 (GMT)
commit23a31f45b2d0c3885fd09966a3adb0a43e292445 (patch)
tree324c6c5a49ceec95479dfb823f30646cca96fadb
parent46d90a06de6611d2ef022a21fbb044c0641165e4 (diff)
downloadhdf5-23a31f45b2d0c3885fd09966a3adb0a43e292445.zip
hdf5-23a31f45b2d0c3885fd09966a3adb0a43e292445.tar.gz
hdf5-23a31f45b2d0c3885fd09966a3adb0a43e292445.tar.bz2
[svn-r28088] Fixed a mid-block declaration in the dsets test that only exists
when zlib compression is disabled. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) gcc 4.9.2
-rw-r--r--test/dsets.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 670094e..90e9640 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -8124,7 +8124,10 @@ test_chunk_fast(const char *env_h5_driver, hid_t fapl)
#ifdef H5_HAVE_FILTER_DEFLATE
/* Loop over compressing chunks */
for(compress = FALSE; compress <= TRUE; compress++) {
+#else
+ for(compress = FALSE; compress <= FALSE; compress++) {
#endif /* H5_HAVE_FILTER_DEFLATE */
+
H5D_alloc_time_t alloc_time; /* Storage allocation time */
/* Loop over storage allocation time */
@@ -8366,9 +8369,7 @@ test_chunk_fast(const char *env_h5_driver, hid_t fapl)
if(H5Pclose(dcpl) < 0) FAIL_STACK_ERROR
} /* end for */
} /* end for */
-#ifdef H5_HAVE_FILTER_DEFLATE
} /* end for */
-#endif /* H5_HAVE_FILTER_DEFLATE */
} /* end for */
/* Close everything */