Fix compile warning.

This commit is contained in:
Peter Eisentraut 2002-09-04 22:51:23 +00:00
parent f9b7ba2871
commit be475f92cd
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/**************************************************************************** /****************************************************************************
* 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)
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)
{ {

View File

@ -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)
{ {
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();