mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
OESS-168: Remove clang warnings. (#1263)
This commit is contained in:
parent
40a23b67ea
commit
abb05bce6e
@ -2359,7 +2359,7 @@ test_compound_11(void)
|
|||||||
TEST_ERROR
|
TEST_ERROR
|
||||||
} /* end if */
|
} /* end if */
|
||||||
if (((big_t *)buf_orig)[u].s1 == NULL || ((little_t *)buf)[u].s1 == NULL) {
|
if (((big_t *)buf_orig)[u].s1 == NULL || ((little_t *)buf)[u].s1 == NULL) {
|
||||||
HDprintf("Error, line #%d: buf_orig[%u].s1=%p, buf[%u].s1=%p\n", __LINE__, (unsigned)u,
|
HDprintf("Error, line #%d: buf_orig[%u].s1=%s, buf[%u].s1=%s\n", __LINE__, (unsigned)u,
|
||||||
((big_t *)buf_orig)[u].s1, (unsigned)u, ((little_t *)buf)[u].s1);
|
((big_t *)buf_orig)[u].s1, (unsigned)u, ((little_t *)buf)[u].s1);
|
||||||
TEST_ERROR
|
TEST_ERROR
|
||||||
} /* end if */
|
} /* end if */
|
||||||
@ -2410,7 +2410,7 @@ test_compound_11(void)
|
|||||||
TEST_ERROR
|
TEST_ERROR
|
||||||
} /* end if */
|
} /* end if */
|
||||||
if (((big_t *)buf_orig)[u].s1 == NULL || ((little_t *)buf)[u].s1 == NULL) {
|
if (((big_t *)buf_orig)[u].s1 == NULL || ((little_t *)buf)[u].s1 == NULL) {
|
||||||
HDprintf("Error, line #%d: buf_orig[%u].s1=%p, buf[%u].s1=%p\n", __LINE__, (unsigned)u,
|
HDprintf("Error, line #%d: buf_orig[%u].s1=%s, buf[%u].s1=%s\n", __LINE__, (unsigned)u,
|
||||||
((big_t *)buf_orig)[u].s1, (unsigned)u, ((little_t *)buf)[u].s1);
|
((big_t *)buf_orig)[u].s1, (unsigned)u, ((little_t *)buf)[u].s1);
|
||||||
TEST_ERROR
|
TEST_ERROR
|
||||||
} /* end if */
|
} /* end if */
|
||||||
@ -2451,7 +2451,7 @@ test_compound_11(void)
|
|||||||
TEST_ERROR
|
TEST_ERROR
|
||||||
} /* end if */
|
} /* end if */
|
||||||
if (((big_t *)buf_orig)[u].s1 == NULL || ((little_t *)buf)[u].s1 == NULL) {
|
if (((big_t *)buf_orig)[u].s1 == NULL || ((little_t *)buf)[u].s1 == NULL) {
|
||||||
HDprintf("Error, line #%d: buf_orig[%u].s1=%p, buf[%u].s1=%p\n", __LINE__, (unsigned)u,
|
HDprintf("Error, line #%d: buf_orig[%u].s1=%s, buf[%u].s1=%s\n", __LINE__, (unsigned)u,
|
||||||
((big_t *)buf_orig)[u].s1, (unsigned)u, ((little_t *)buf)[u].s1);
|
((big_t *)buf_orig)[u].s1, (unsigned)u, ((little_t *)buf)[u].s1);
|
||||||
TEST_ERROR
|
TEST_ERROR
|
||||||
} /* end if */
|
} /* end if */
|
||||||
|
Loading…
Reference in New Issue
Block a user