summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-08-10 18:20:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-08-10 18:20:38 (GMT)
commit5c3bd219637e8d6496ee109329a175c4d6054f3a (patch)
treeb11ad2c557dcdc4aaa806a03d450cb6387612f55 /src
parent825fe5689268fd48a325b3cc8d918e9c537f9283 (diff)
downloadhdf5-5c3bd219637e8d6496ee109329a175c4d6054f3a.zip
hdf5-5c3bd219637e8d6496ee109329a175c4d6054f3a.tar.gz
hdf5-5c3bd219637e8d6496ee109329a175c4d6054f3a.tar.bz2
[svn-r23988] Description:
Make compiler happier and issue less warnings. Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc 4.8
Diffstat (limited to 'src')
-rw-r--r--src/H5Eprivate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Eprivate.h b/src/H5Eprivate.h
index b2ca5eb..0e6def6 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