Skip to content

Commit f26c989

Browse files
committed
Suppress variable-clobbered-by-longjmp warning seen with older gcc versions.
1 parent beef895 commit f26c989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/misc/guc-file.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ bool
487487
ParseConfigFp(FILE *fp, const char *config_file, int depth, int elevel,
488488
ConfigVariable **head_p, ConfigVariable **tail_p)
489489
{
490-
bool OK = true;
490+
volatile bool OK = true;
491491
unsigned int save_ConfigFileLineno = ConfigFileLineno;
492492
sigjmp_buf *save_GUC_flex_fatal_jmp = GUC_flex_fatal_jmp;
493493
sigjmp_buf flex_fatal_jmp;

0 commit comments

Comments
 (0)