projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d2235a
)
Mark ReThrowError() with attribute noreturn
author
Peter Eisentraut
<peter_e@gmx.net>
Mon, 30 Apr 2012 17:22:28 +0000
(20:22 +0300)
committer
Peter Eisentraut
<peter_e@gmx.net>
Mon, 30 Apr 2012 17:23:41 +0000
(20:23 +0300)
All related functions were already so marked.
src/include/utils/elog.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/utils/elog.h
b/src/include/utils/elog.h
index 7b5bcfae6fdb95fa6b4d7021c5eb2f55ce03b646..1bbfd2b958f07a6b63dd6ef17225f00c4b7ba98b 100644
(file)
--- a/
src/include/utils/elog.h
+++ b/
src/include/utils/elog.h
@@
-331,7
+331,7
@@
extern void EmitErrorReport(void);
extern ErrorData *CopyErrorData(void);
extern void FreeErrorData(ErrorData *edata);
extern void FlushErrorState(void);
-extern void ReThrowError(ErrorData *edata);
+extern void ReThrowError(ErrorData *edata)
__attribute__((noreturn))
;
extern void pg_re_throw(void) __attribute__((noreturn));
/* Hook for intercepting messages before they are sent to the server log */