summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-10-09 16:55:33 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-10-09 16:55:33 (GMT)
commit9d954e1136e8b511d0f44eac25c9eafd3b155549 (patch)
treec44e2a0e45714f09f7c1c274cdbcb2a897e98afe /src/H5private.h
parent53827d4017a258a6e4bfd911d4fef3fbc21bd484 (diff)
downloadhdf5-9d954e1136e8b511d0f44eac25c9eafd3b155549.zip
hdf5-9d954e1136e8b511d0f44eac25c9eafd3b155549.tar.gz
hdf5-9d954e1136e8b511d0f44eac25c9eafd3b155549.tar.bz2
[svn-r24270] checkin coverity changes from 10/4/2013.
tested with h5committest
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 984f7da..0e6ff1e 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -277,12 +277,15 @@
#ifdef __cplusplus
# define __attribute__(X) /*void*/
# define UNUSED /*void*/
+# define NORETURN /*void*/
#else /* __cplusplus */
#ifdef H5_HAVE_ATTRIBUTE
# define UNUSED __attribute__((unused))
+# define NORETURN __attribute__((noreturn))
#else
# define __attribute__(X) /*void*/
# define UNUSED /*void*/
+# define NORETURN /*void*/
#endif
#endif /* __cplusplus */