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

Fix ifx unused variable hdferr warning. #3568

Merged
merged 2 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions fortran/src/H5Aff.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,9 @@ END FUNCTION H5Aopen_by_idx
attr_id = INT(H5Aopen_by_idx(loc_id, c_obj_name, INT(idx_type, C_INT), INT(order, C_INT), n, &
aapl_id_default, lapl_id_default), HID_T)

hdferr = 0
IF(attr_id.LT.0) hdferr = -1

END SUBROUTINE h5aopen_by_idx_f

!>
Expand Down
4 changes: 4 additions & 0 deletions release_docs/RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ New Features

Fortran Library:
----------------

- Fixed an uninitialized error return value for hdferr
to return the error state of the h5aopen_by_idx_f API.

- Added h5pget_vol_cap_flags_f and related Fortran VOL
capability definitions.

Expand Down