Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit be475f9

Browse files
committed
Fix compile warning.
1 parent f9b7ba2 commit be475f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contrib/dbmirror/pending.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/****************************************************************************
22
* pending.c
3-
* $Id: pending.c,v 1.2 2002/09/04 20:31:06 momjian Exp $
3+
* $Id: pending.c,v 1.3 2002/09/04 22:49:22 petere Exp $
44
*
55
* This file contains a trigger for Postgresql-7.x to record changes to tables
66
* to a pending table for mirroring.
@@ -67,7 +67,7 @@ recordchange(PG_FUNCTION_ARGS)
6767
HeapTuple afterTuple = NULL;
6868
HeapTuple retTuple = NULL;
6969
char *tblname;
70-
char op;
70+
char op = 0;
7171

7272
if (fcinfo->context != NULL)
7373
{

src/pl/plpython/plpython.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
3030
*
3131
* IDENTIFICATION
32-
* $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.21 2002/09/04 20:31:48 momjian Exp $
32+
* $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.22 2002/09/04 22:51:23 petere Exp $
3333
*
3434
*********************************************************************
3535
*/
@@ -381,7 +381,7 @@ plpython_call_handler(PG_FUNCTION_ARGS)
381381
{
382382
DECLARE_EXC();
383383
Datum retval;
384-
bool is_trigger;
384+
volatile bool is_trigger;
385385
PLyProcedure *volatile proc = NULL;
386386

387387
enter();

0 commit comments

Comments
 (0)