postgres.git / summary / log / commit / refs

commit    05021a2c0cd212dbe9d7883e2d1677ba739653d5
Author:   Robert Haas <rhaas@postgresql.org>
Date:     Fri Apr 24 18:08:29 2020 +0000
First released in: 13.0

    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


src/bin/pg_verifybackup/parse_manifest.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { [parent: baf17ad9dff4]