]> granicus.if.org Git - postgresql/commitdiff
Suppress variable-clobbered-by-longjmp warning seen with older gcc versions.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 24 Jan 2012 18:44:07 +0000 (13:44 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 24 Jan 2012 18:44:07 +0000 (13:44 -0500)
src/backend/utils/misc/guc-file.l

index c6c15584754a9f9e286d55f9aad53d5c19deba1b..1a5e383b15081e4790532c2d186d8ad98f20f6bd 100644 (file)
@@ -487,7 +487,7 @@ bool
 ParseConfigFp(FILE *fp, const char *config_file, int depth, int elevel,
                          ConfigVariable **head_p, ConfigVariable **tail_p)
 {
-       bool            OK = true;
+       volatile bool OK = true;
        unsigned int save_ConfigFileLineno = ConfigFileLineno;
        sigjmp_buf *save_GUC_flex_fatal_jmp = GUC_flex_fatal_jmp;
        sigjmp_buf      flex_fatal_jmp;