summaryrefslogtreecommitdiffstats
path: root/test/unlink.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:16:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:16:59 (GMT)
commit3fcef502ea6188b243b1907d04e4cbe9d351bd8a (patch)
tree01779eba7ed08e7769d4f7690a5c3dc91b2039a8 /test/unlink.c
parent007adfc4525c2b7e7bbfd27e0f1a4c569687cf2e (diff)
downloadhdf5-3fcef502ea6188b243b1907d04e4cbe9d351bd8a.zip
hdf5-3fcef502ea6188b243b1907d04e4cbe9d351bd8a.tar.gz
hdf5-3fcef502ea6188b243b1907d04e4cbe9d351bd8a.tar.bz2
[svn-r7001] Purpose:
Code cleanup Description: Reduce warnings when compiled with --enable_hdf5v1_4 compatibility switch. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'test/unlink.c')
-rw-r--r--test/unlink.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/unlink.c b/test/unlink.c
index 5b90dc2..774399e 100644
--- a/test/unlink.c
+++ b/test/unlink.c
@@ -554,7 +554,11 @@ test_filespace(void)
/* Metadata cache parameters */
int mdc_nelmts;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int rdcc_nelmts;
+#else /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nelmts;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nbytes;
double rdcc_w0;
@@ -1197,7 +1201,11 @@ main(void)
/* Metadata cache parameters */
int mdc_nelmts;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int rdcc_nelmts;
+#else /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nelmts;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nbytes;
double rdcc_w0;