summaryrefslogtreecommitdiffstats
path: root/test/tmisc.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-09-30 16:20:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-09-30 16:20:46 (GMT)
commitc58d85f10eb0f7da7ac920b0655937f7521e9d8c (patch)
tree5920e9682efd3a548fa78ed67735efa153dfcef0 /test/tmisc.c
parentc48165cb11b0cb9a06239a0268c1c97336ffe6fd (diff)
downloadhdf5-c58d85f10eb0f7da7ac920b0655937f7521e9d8c.zip
hdf5-c58d85f10eb0f7da7ac920b0655937f7521e9d8c.tar.gz
hdf5-c58d85f10eb0f7da7ac920b0655937f7521e9d8c.tar.bz2
[svn-r7527] Purpose:
Code cleanup Description: Clean up a few loose ends and warnings for the 1.6 compatibility changes to the error API. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
Diffstat (limited to 'test/tmisc.c')
-rw-r--r--test/tmisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index 19150d3..c1c3a50 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -2648,7 +2648,7 @@ test_misc16(void)
hid_t file; /* File ID */
herr_t ret; /* Generic return value */
const char wdata[MISC16_SPACE_DIM][MISC16_STR_SIZE] =
- {"1234567", "1234567\0", "12345678", NULL};
+ {"1234567", "1234567\0", "12345678", {NULL}};
char rdata[MISC16_SPACE_DIM][MISC16_STR_SIZE]; /* Information read in */
hid_t dataset; /* Dataset ID */
hid_t sid; /* Dataspace ID */
@@ -2729,7 +2729,7 @@ test_misc17(void)
hid_t file; /* File ID */
herr_t ret; /* Generic return value */
const char wdata[MISC17_SPACE_DIM1][MISC17_SPACE_DIM2] =
- {"1234567", "1234567\0", "12345678", NULL};
+ {"1234567", "1234567\0", "12345678", {NULL}};
char rdata[MISC17_SPACE_DIM1][MISC17_SPACE_DIM2]; /* Information read in */
hid_t dataset; /* Dataset ID */
hid_t sid; /* Dataspace ID */