summaryrefslogtreecommitdiffstats
path: root/test/filenotclosed.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-11-10 04:04:12 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-11-10 04:04:12 (GMT)
commit0b846cee58af147e92a3ba7db45497fd9eaa09b4 (patch)
tree98486856888d5204e4c1ac10cc96f859ba04437e /test/filenotclosed.c
parentfb5c4f68fc6d9eb8c10ccd67bb0e758574ae0163 (diff)
downloadhdf5-0b846cee58af147e92a3ba7db45497fd9eaa09b4.zip
hdf5-0b846cee58af147e92a3ba7db45497fd9eaa09b4.tar.gz
hdf5-0b846cee58af147e92a3ba7db45497fd9eaa09b4.tar.bz2
Cleaned up misc warnings in src and test.
Diffstat (limited to 'test/filenotclosed.c')
-rw-r--r--test/filenotclosed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/filenotclosed.c b/test/filenotclosed.c
index d1f468a..2c5c8dc 100644
--- a/test/filenotclosed.c
+++ b/test/filenotclosed.c
@@ -19,8 +19,8 @@
#include "h5test.h"
-#define FILENAME "filenotclosed"
-#define DATASET "dset"
+#define FILENAME "filenotclosed"
+#define DATASET_NAME "dset"
/*-------------------------------------------------------------------------
* Function: catch_signal
@@ -114,7 +114,7 @@ main(void)
TEST_ERROR
/* Create the dataset */
- if((did = H5Dcreate2(fid, "dset", H5T_NATIVE_INT, sid, H5P_DEFAULT, dcpl, H5P_DEFAULT)) < 0)
+ if((did = H5Dcreate2(fid, DATASET_NAME, H5T_NATIVE_INT, sid, H5P_DEFAULT, dcpl, H5P_DEFAULT)) < 0)
TEST_ERROR
/* Write to the dataset */