Skip to content

Commit

Permalink
HDONE_ERROR macro only
Browse files Browse the repository at this point in the history
  • Loading branch information
seanm committed Jul 21, 2023
1 parent d3a54cf commit 7bfff9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ StatementMacros:
- H5_GCC_DIAG_OFF
- H5_GCC_DIAG_ON
- H5_LEAVE
- HDONE_ERROR
- HGOTO_DONE
- HGOTO_ERROR
- HMPI_DONE_ERROR
Expand Down
4 changes: 2 additions & 2 deletions src/H5Eprivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ do {
* without jumping to any labels)
*/
#define HDONE_ERROR(maj, min, ret_val, ...) \
{ \
do { \
HCOMMON_ERROR(maj, min, __VA_ARGS__); \
ret_value = ret_val; \
}
} while(0)

/*
* HGOTO_ERROR macro, used to facilitate error reporting between a
Expand Down

0 comments on commit 7bfff9d

Please sign in to comment.