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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy