Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHECK --> CHECK_PTR in tmisc.c #4274

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/tmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3982,7 +3982,7 @@ test_misc21(void)

/* Allocate space for the buffer */
buf = (char *)calloc(MISC21_SPACE_DIM0 * MISC21_SPACE_DIM1, 1);
CHECK(buf, NULL, "calloc");
CHECK_PTR(buf, "calloc");

/* Create the file */
fid = H5Fcreate(MISC21_FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
Expand Down Expand Up @@ -4068,7 +4068,7 @@ test_misc22(void)

/* Allocate space for the buffer */
buf = (char *)calloc(MISC22_SPACE_DIM0 * MISC22_SPACE_DIM1, 8);
CHECK(buf, NULL, "calloc");
CHECK_PTR(buf, "calloc");

/* Create a file access property list */
fapl = H5Pcreate(H5P_FILE_ACCESS);
Expand Down
Loading