From 23a31f45b2d0c3885fd09966a3adb0a43e292445 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Thu, 15 Oct 2015 13:38:23 -0500 Subject: [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 --- test/dsets.c | 5 +++-- 1 file 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 */ -- cgit v0.12