aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-05-24 19:58:04 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-05-24 19:58:04 +0000
commit07be59805b5127f9a70a333747b8d25faed72711 (patch)
tree9dd78c9086581ec163f7eb59eb645d4f6d2fb03f
parentde09da547a6328fd594160508b9597f02e75d06e (diff)
downloadpostgresql-07be59805b5127f9a70a333747b8d25faed72711.tar.gz
postgresql-07be59805b5127f9a70a333747b8d25faed72711.zip
Add 'volatile' to suppress gcc warning. Not sure why this warning
wasn't seen before, maybe the Tcl compiler flags were less strict.
-rw-r--r--src/pl/tcl/pltcl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c
index 3335e8ed176..a6c508c5790 100644
--- a/src/pl/tcl/pltcl.c
+++ b/src/pl/tcl/pltcl.c
@@ -31,7 +31,7 @@
* ENHANCEMENTS, OR MODIFICATIONS.
*
* 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,
int loop_body;
Tcl_HashEntry *hashent;
pltcl_query_desc *qdesc;
- Datum *argvalues = NULL;
+ Datum *volatile argvalues = NULL;
char *volatile nulls = NULL;
char *volatile arrayname = NULL;
int count = 0;