From: Tom Lane Date: Mon, 20 Nov 2000 21:14:13 +0000 (+0000) Subject: Silence gcc warnings. X-Git-Tag: REL7_1_BETA~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3568cf50e57b30fab25eaef09be85ec61c4e0ec7;p=postgresql Silence gcc warnings. --- diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 3d8946b6db..2607c1c8e5 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.94 2000/11/14 21:04:31 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.95 2000/11/20 21:14:13 tgl Exp $ * * * INTERFACE ROUTINES @@ -2088,7 +2088,7 @@ heap_xlog_delete(bool redo, XLogRecPtr lsn, XLogRecord *record) Buffer buffer; Page page; OffsetNumber offnum; - ItemId lp; + ItemId lp = NULL; HeapTupleHeader htup; if (!RelationIsValid(reln)) @@ -2288,7 +2288,7 @@ heap_xlog_update(bool redo, XLogRecPtr lsn, XLogRecord *record, bool move) ItemPointerGetBlockNumber(&(xlrec->target.tid))); Page page; OffsetNumber offnum; - ItemId lp; + ItemId lp = NULL; HeapTupleHeader htup; if (!RelationIsValid(reln))