diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-10 18:20:38 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-10 18:20:38 (GMT) |
commit | 5c3bd219637e8d6496ee109329a175c4d6054f3a (patch) | |
tree | b11ad2c557dcdc4aaa806a03d450cb6387612f55 /src/H5Eprivate.h | |
parent | 825fe5689268fd48a325b3cc8d918e9c537f9283 (diff) | |
download | hdf5-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/H5Eprivate.h')
-rw-r--r-- | src/H5Eprivate.h | 5 |
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 |