Skip to content

Fix warning about unused HD5 status file valriable on release mode

What does this MR do?

The HD5 file status is only used to assert whether there is an error on debug mode, hence, it triggers unused warning on release mode.

There are two options to solve this warning:

  1. Mark status variable as [[maybe_unused]].
  2. Use the variable by checking its value on release mode as well.
  3. Remove status variables and do not check for error status.

After discussion, we chose option 3.

Is there something that needs to be double checked?

  • Does this remove these H5 related warnings?
  • Do we need an entry in the CHANGELOG.md for this?

Can this MR be accepted?

  • Implemented
  • Pipeline passing
  • Squash option set
  • Delete branch option set
  • Added entry to CHANGELOG.md

Assignee: If the Squash option is set, check/update the commit message right before merging!

Edited by Santiago Ospina De Los Ríos

Merge request reports