diff options
author | Robert Haas <rhaas@postgresql.org> | 2020-04-24 14:08:29 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2020-04-24 14:11:45 -0400 |
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/20200405193118.alprgmozhxcfabkw@alap3.anarazel.de
-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 49254bfb324..07e23979417 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 { |