projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf17ad
)
Try to avoid compiler warnings in optimized builds.
author
Robert Haas
Fri, 24 Apr 2020 18:08:29 +0000
(14:08 -0400)
committer
Robert Haas
Fri, 24 Apr 2020 18:11:45 +0000
(14:11 -0400)
Per report from Andres Freund, who also says that this fix
works for him.
Discussion: http://postgr.es/m/
20200405193118
[email protected]
src/bin/pg_verifybackup/parse_manifest.h
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_verifybackup/parse_manifest.h
b/src/bin/pg_verifybackup/parse_manifest.h
index 49254bfb3241a7b1c47cb908fd4adcfc98fa6fc5..07e239794175163888619cc0e44bb77c532c4a78 100644
(file)
--- a/
src/bin/pg_verifybackup/parse_manifest.h
+++ b/
src/bin/pg_verifybackup/parse_manifest.h
@@
-29,7
+29,8
@@
typedef void (*json_manifest_perwalrange_callback)(JsonManifestParseContext *,
TimeLineID tli,
XLogRecPtr start_lsn, XLogRecPtr end_lsn);
typedef void (*json_manifest_error_callback)(JsonManifestParseContext *,
- char *fmt, ...) pg_attribute_printf(2, 3);
+ char *fmt, ...) pg_attribute_printf(2, 3)
+ pg_attribute_noreturn();
struct JsonManifestParseContext
{