Skip to content

Commit

Permalink
Initialize selection type in both if/else sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Glenn Song committed Mar 8, 2024
1 parent 871a49f commit cef3618
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/H5Dchunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,10 @@ H5D__chunk_io_init_selections(H5D_io_info_t *io_info, H5D_dset_io_info_t *dinfo)
/* Initialize skip list for chunk selections */
fm->use_single = true;

/* Initialize selection type in memory and file */
fm->msel_type = H5S_SEL_NONE;
fm->fsel_type = H5S_SEL_NONE;

/* Initialize single chunk dataspace */
if (NULL == dataset->shared->cache.chunk.single_space) {
/* Make a copy of the dataspace for the dataset */
Expand Down

0 comments on commit cef3618

Please sign in to comment.