summaryrefslogtreecommitdiffstats
path: root/test/cross_read.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-11-15 10:58:16 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-11-15 10:58:16 (GMT)
commit5ce8dd5e946c85522edd76f3288e7052bde86b8a (patch)
tree6bc41196dc773246135a10dc721d4a705dae6981 /test/cross_read.c
parent14beb8be8cfc741eb0d83a7be3c7ac90fa76e7a7 (diff)
downloadhdf5-5ce8dd5e946c85522edd76f3288e7052bde86b8a.zip
hdf5-5ce8dd5e946c85522edd76f3288e7052bde86b8a.tar.gz
hdf5-5ce8dd5e946c85522edd76f3288e7052bde86b8a.tar.bz2
Minor warning fixes
Diffstat (limited to 'test/cross_read.c')
-rw-r--r--test/cross_read.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cross_read.c b/test/cross_read.c
index 5d5ef07..2219151 100644
--- a/test/cross_read.c
+++ b/test/cross_read.c
@@ -226,7 +226,9 @@ check_file(char *filename)
const char *pathname = H5_get_srcdir_filename(filename); /* Corrected test file name */
hid_t fid = -1; /* file ID */
int nerrors = 0; /* # of datasets with errors */
+#if !defined(H5_HAVE_FILTER_DEFLATE) || !defined(H5_HAVE_FILTER_SZIP)
const char *not_supported= " filter is not enabled."; /* no filter message */
+#endif
/* Open the file. */
if((fid = H5Fopen(pathname, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0)