Skip to content

Commit

Permalink
Fix a minor warning in h5test.c (HDFGroup#4242)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF authored and lrknox committed Mar 29, 2024
1 parent c3d25af commit 3e4d488
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/h5test.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,13 +843,13 @@ h5_get_vfd_fapl(hid_t fapl)
}
else if (!strcmp(tok, "multi")) {
/* Multi-file driver, general case of the split driver */
H5FD_mem_t memb_map[H5FD_MEM_NTYPES];
hid_t memb_fapl[H5FD_MEM_NTYPES];
const char *memb_name[H5FD_MEM_NTYPES];
char *sv[H5FD_MEM_NTYPES];
haddr_t memb_addr[H5FD_MEM_NTYPES];
H5FD_mem_t mt;
const int multi_memname_maxlen = 1024;
H5FD_mem_t memb_map[H5FD_MEM_NTYPES];
hid_t memb_fapl[H5FD_MEM_NTYPES];
const char *memb_name[H5FD_MEM_NTYPES];
char *sv[H5FD_MEM_NTYPES];
haddr_t memb_addr[H5FD_MEM_NTYPES];
H5FD_mem_t mt;
const size_t multi_memname_maxlen = 1024;

memset(memb_map, 0, sizeof(memb_map));
memset(memb_fapl, 0, sizeof(memb_fapl));
Expand Down

0 comments on commit 3e4d488

Please sign in to comment.