Commit 07be5980 authored by Tom Lane's avatar Tom Lane

Add 'volatile' to suppress gcc warning. Not sure why this warning

wasn't seen before, maybe the Tcl compiler flags were less strict.
parent de09da54
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* ENHANCEMENTS, OR MODIFICATIONS. * ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.53 2002/03/29 19:06:28 tgl Exp $ * $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.54 2002/05/24 19:58:04 tgl Exp $
* *
**********************************************************************/ **********************************************************************/
...@@ -1873,7 +1873,7 @@ pltcl_SPI_execp(ClientData cdata, Tcl_Interp *interp, ...@@ -1873,7 +1873,7 @@ pltcl_SPI_execp(ClientData cdata, Tcl_Interp *interp,
int loop_body; int loop_body;
Tcl_HashEntry *hashent; Tcl_HashEntry *hashent;
pltcl_query_desc *qdesc; pltcl_query_desc *qdesc;
Datum *argvalues = NULL; Datum *volatile argvalues = NULL;
char *volatile nulls = NULL; char *volatile nulls = NULL;
char *volatile arrayname = NULL; char *volatile arrayname = NULL;
int count = 0; int count = 0;
......
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