diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-08-03 18:30:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 18:30:34 (GMT) |
commit | 27b2d6735cbc326dbfa3f8e0a07ca7ba82ffe253 (patch) | |
tree | 1ece8273bcfba450d48d1c848ea2ec3aad017d83 /src/H5Epublic.h | |
parent | 7fc8531b767855e69fb4016783a1131ba581fd5b (diff) | |
download | hdf5-27b2d6735cbc326dbfa3f8e0a07ca7ba82ffe253.zip hdf5-27b2d6735cbc326dbfa3f8e0a07ca7ba82ffe253.tar.gz hdf5-27b2d6735cbc326dbfa3f8e0a07ca7ba82ffe253.tar.bz2 |
Merge Fixes the last of the -Wextra-semi-stmt warnings #3326 (#3338)
Diffstat (limited to 'src/H5Epublic.h')
-rw-r--r-- | src/H5Epublic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Epublic.h b/src/H5Epublic.h index a62c462..8db118b 100644 --- a/src/H5Epublic.h +++ b/src/H5Epublic.h @@ -149,10 +149,10 @@ H5_DLLVAR hid_t H5E_ERR_CLS_g; * And goto a label after pushing error onto stack. */ #define H5Epush_goto(func, cls, maj, min, str, label) \ - { \ + do { \ H5Epush2(H5E_DEFAULT, __FILE__, func, __LINE__, cls, maj, min, str); \ goto label; \ - } + } while (0) /** * Error stack traversal direction |