summaryrefslogtreecommitdiffstats
path: root/src/H5Epublic.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-04-07 15:26:30 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-04-07 15:26:30 (GMT)
commit8fa2e9bd598bbbfecc85a9ed9b3511bc40342fe6 (patch)
treee2c7138f787def6d651efcd6f06cb9f56a81b2d1 /src/H5Epublic.h
parent0cdbfd4ccc9717daf35fde2170c329f97401973a (diff)
downloadhdf5-8fa2e9bd598bbbfecc85a9ed9b3511bc40342fe6.zip
hdf5-8fa2e9bd598bbbfecc85a9ed9b3511bc40342fe6.tar.gz
hdf5-8fa2e9bd598bbbfecc85a9ed9b3511bc40342fe6.tar.bz2
[svn-r2088] * 2000-01-26
** src/H5Epublic.h Removed `do{...}while(0)' from H5E_BEGIN/END_TRY macros to get rid of a warning about the constant expression.
Diffstat (limited to 'src/H5Epublic.h')
-rw-r--r--src/H5Epublic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Epublic.h b/src/H5Epublic.h
index d3790e9..da23135 100644
--- a/src/H5Epublic.h
+++ b/src/H5Epublic.h
@@ -36,7 +36,7 @@
* Warning: don't break, return, or longjmp() from the body of the loop or
* the error reporting won't be properly restored!
*/
-#define H5E_BEGIN_TRY do { \
+#define H5E_BEGIN_TRY { \
herr_t (*H5E_saved_efunc)(void*); \
void *H5E_saved_edata; \
H5Eget_auto (&H5E_saved_efunc, &H5E_saved_edata); \
@@ -44,7 +44,7 @@
#define H5E_END_TRY \
H5Eset_auto (H5E_saved_efunc, H5E_saved_edata); \
-} while(0)
+}
/*
* Public API Convenience Macros for Error reporting - Documented