summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-08-17 20:03:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-08-17 20:03:41 (GMT)
commitb5a5441e7c5eb09cb53677326c3e84f80acdf108 (patch)
tree569cdcda4c0204a76a9c31bd30aca314e07c9108
parenta39c7228fba25c52c0a1da7dcb88a7c85f23a83a (diff)
downloadhdf5-b5a5441e7c5eb09cb53677326c3e84f80acdf108.zip
hdf5-b5a5441e7c5eb09cb53677326c3e84f80acdf108.tar.gz
hdf5-b5a5441e7c5eb09cb53677326c3e84f80acdf108.tar.bz2
[svn-r24019] Description:
Bring r23988 from trunk to 1.8 branch: Make compiler happier and issue less warnings. Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc 4.8 (daily tested on trunk)
-rw-r--r--src/H5Eprivate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Eprivate.h b/src/H5Eprivate.h
index 4d5b8ad..b36780b 100644
--- a/src/H5Eprivate.h
+++ b/src/H5Eprivate.h
@@ -39,8 +39,9 @@ typedef struct H5E_t H5E_t;
* (Shouldn't need to be used outside this header file)
*/
#define HCOMMON_ERROR(maj, min, ...) \
- HERROR(maj, min, __VA_ARGS__); \
- err_occurred = TRUE;
+ HERROR(maj, min, __VA_ARGS__); \
+ err_occurred = TRUE; \
+ err_occurred = err_occurred; /* Shut GCC warnings up! */
/*
* HDONE_ERROR macro, used to facilitate error reporting between a