Commit be475f92 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix compile warning.

parent f9b7ba28
/**************************************************************************** /****************************************************************************
* pending.c * pending.c
* $Id: pending.c,v 1.2 2002/09/04 20:31:06 momjian Exp $ * $Id: pending.c,v 1.3 2002/09/04 22:49:22 petere Exp $
* *
* This file contains a trigger for Postgresql-7.x to record changes to tables * This file contains a trigger for Postgresql-7.x to record changes to tables
* to a pending table for mirroring. * to a pending table for mirroring.
...@@ -67,7 +67,7 @@ recordchange(PG_FUNCTION_ARGS) ...@@ -67,7 +67,7 @@ recordchange(PG_FUNCTION_ARGS)
HeapTuple afterTuple = NULL; HeapTuple afterTuple = NULL;
HeapTuple retTuple = NULL; HeapTuple retTuple = NULL;
char *tblname; char *tblname;
char op; char op = 0;
if (fcinfo->context != NULL) if (fcinfo->context != NULL)
{ {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
* MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.21 2002/09/04 20:31:48 momjian Exp $ * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.22 2002/09/04 22:51:23 petere Exp $
* *
********************************************************************* *********************************************************************
*/ */
...@@ -381,7 +381,7 @@ plpython_call_handler(PG_FUNCTION_ARGS) ...@@ -381,7 +381,7 @@ plpython_call_handler(PG_FUNCTION_ARGS)
{ {
DECLARE_EXC(); DECLARE_EXC();
Datum retval; Datum retval;
bool is_trigger; volatile bool is_trigger;
PLyProcedure *volatile proc = NULL; PLyProcedure *volatile proc = NULL;
enter(); enter();
......
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