Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 26471a5

Browse files
committed
Mark ReThrowError() with attribute noreturn
All related functions were already so marked.
1 parent 0d2235a commit 26471a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/utils/elog.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ extern void EmitErrorReport(void);
331331
extern ErrorData *CopyErrorData(void);
332332
extern void FreeErrorData(ErrorData *edata);
333333
extern void FlushErrorState(void);
334-
extern void ReThrowError(ErrorData *edata);
334+
extern void ReThrowError(ErrorData *edata) __attribute__((noreturn));
335335
extern void pg_re_throw(void) __attribute__((noreturn));
336336

337337
/* Hook for intercepting messages before they are sent to the server log */

0 commit comments

Comments
 (0)