diff options
author | Robert Haas | 2020-04-24 18:08:29 +0000 |
---|---|---|
committer | Robert Haas | 2020-04-24 18:11:45 +0000 |
commit | 05021a2c0cd212dbe9d7883e2d1677ba739653d5 (patch) | |
tree | 98da4d5b7a43b4c237dceaf81ebc68f90601387c | |
parent | baf17ad9dff4552b7e494d3f574972c21d9f90bc (diff) |
Try to avoid compiler warnings in optimized builds.
Per report from Andres Freund, who also says that this fix
works for him.
Discussion: http://postgr.es/m/[email protected]
-rw-r--r-- | src/bin/pg_verifybackup/parse_manifest.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_verifybackup/parse_manifest.h b/src/bin/pg_verifybackup/parse_manifest.h index 49254bfb32..07e2397941 100644 --- 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 { |