Commit 070907b2 authored by Tom Lane's avatar Tom Lane

Add 'volatile' to suppress 'variable might be clobbered by longjmp'

warning emitted by some versions of gcc.
parent 9fc25c05
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.53 2007/06/30 04:08:05 alvherre Exp $ * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.54 2007/07/01 02:20:59 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1776,7 +1776,7 @@ do_autovacuum(void) ...@@ -1776,7 +1776,7 @@ do_autovacuum(void)
List *table_oids = NIL; List *table_oids = NIL;
List *toast_oids = NIL; List *toast_oids = NIL;
List *table_toast_list = NIL; List *table_toast_list = NIL;
ListCell *cell; ListCell * volatile cell;
PgStat_StatDBEntry *shared; PgStat_StatDBEntry *shared;
PgStat_StatDBEntry *dbentry; PgStat_StatDBEntry *dbentry;
BufferAccessStrategy bstrategy; BufferAccessStrategy bstrategy;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment