Skip to content

Commit

Permalink
fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Nov 1, 2024
1 parent cf2b1de commit 0fe899b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/H5VL_log_att.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ herr_t H5VL_log_attr_specific (void *obj,
void **req) {
H5VL_log_obj_t *op = (H5VL_log_obj_t *)obj;
herr_t err = 0;
H5VL_log_req_t *rp;
H5VL_log_req_t *rp = NULL;
void **ureqp, *ureq;
char *iname = NULL; // Internal name of object
const char *original_name = NULL; // Original value in loc_params before being remapped
Expand Down
4 changes: 2 additions & 2 deletions src/H5VL_log_dataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ static herr_t H5VL_log_dataset_read_elements (void *dset,
herr_t err = 0;
H5VL_log_dset_t *dp = (H5VL_log_dset_t *)dset;
H5VL_log_dset_info_t *dip = NULL; // Dataset info
hid_t dsid; // Dataset space id
hid_t dsid = H5I_INVALID_HID; // Dataset space id
H5VL_log_selections *dsel = NULL; // Selection blocks

try {
Expand Down Expand Up @@ -325,7 +325,7 @@ static herr_t H5VL_log_dataset_write_elements (void *dset,
H5VL_log_dset_t *dp = (H5VL_log_dset_t *)dset;

H5VL_log_dset_info_t *dip = NULL; // Dataset info
hid_t dsid; // Dataset space id
hid_t dsid = H5I_INVALID_HID; // Dataset space id
H5VL_log_selections *dsel = NULL; // Selection blocks

try {
Expand Down
2 changes: 1 addition & 1 deletion src/H5VL_log_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ herr_t H5VL_log_file_specific (void *file,
H5VL_log_file_t *fp = (H5VL_log_file_t *)file;
void *lib_state = NULL;
H5VL_logi_err_finally finally (
[&lib_state] () -> void { H5VL_logi_restore_lib_stat (lib_state); });
[&lib_state] () -> void { H5VL_logi_restore_lib_stat (lib_state); });

try {
#ifdef LOGVOL_DEBUG
Expand Down

0 comments on commit 0fe899b

Please sign in to comment.