mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
OESS-168: Remove clang warnings. (#1146)
This commit is contained in:
parent
ed3584ecc6
commit
60ed6c0df4
@ -293,7 +293,7 @@ test_vlstrings_special(void)
|
||||
/* Check data read in */
|
||||
for (i = 0; i < SPACE1_DIM1; i++)
|
||||
if (rdata[i] != NULL)
|
||||
TestErrPrintf("VL doesn't match!, rdata[%d]=%p\n", (int)i, rdata[i]);
|
||||
TestErrPrintf("VL doesn't match!, rdata[%d]=%s\n", (int)i, rdata[i]);
|
||||
|
||||
/* Write dataset to disk */
|
||||
ret = H5Dwrite(dataset, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata);
|
||||
@ -352,7 +352,7 @@ test_vlstrings_special(void)
|
||||
/* Check data read in */
|
||||
for (i = 0; i < SPACE1_DIM1; i++)
|
||||
if (rdata[i] != NULL)
|
||||
TestErrPrintf("VL doesn't match!, rdata[%d]=%p\n", (int)i, rdata[i]);
|
||||
TestErrPrintf("VL doesn't match!, rdata[%d]=%s\n", (int)i, rdata[i]);
|
||||
|
||||
/* Try to write nil strings to disk. */
|
||||
ret = H5Dwrite(dataset, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata2);
|
||||
@ -365,7 +365,7 @@ test_vlstrings_special(void)
|
||||
/* Check data read in */
|
||||
for (i = 0; i < SPACE1_DIM1; i++)
|
||||
if (rdata[i] != NULL)
|
||||
TestErrPrintf("VL doesn't match!, rdata[%d]=%p\n", (int)i, rdata[i]);
|
||||
TestErrPrintf("VL doesn't match!, rdata[%d]=%s\n", (int)i, rdata[i]);
|
||||
|
||||
/* Close Dataset */
|
||||
ret = H5Dclose(dataset);
|
||||
|
Loading…
Reference in New Issue
Block a user