From: Tom Lane Date: Sat, 9 Dec 2000 20:32:44 +0000 (+0000) Subject: Suppress compiler warnings. X-Git-Tag: REL7_1_BETA2~215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=228c1e74a70cf6f8e07ab2d5b748cb5a5f65baee;p=postgresql Suppress compiler warnings. --- diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c index aabc3a33d0..649e230024 100644 --- a/src/backend/catalog/index.c +++ b/src/backend/catalog/index.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.131 2000/12/08 06:17:57 inoue Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.132 2000/12/09 20:31:43 tgl Exp $ * * * INTERFACE ROUTINES @@ -21,6 +21,7 @@ */ #include "postgres.h" +#include #include "access/genam.h" #include "access/heapam.h" @@ -1513,7 +1514,7 @@ setNewRelfilenode(Relation relation) Oid newrelfilenode; bool in_place_update = false; HeapTupleData lockTupleData; - HeapTuple classTuple; + HeapTuple classTuple = NULL; Buffer buffer; RelationData workrel; diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c index deb8cc67df..4e9780462a 100644 --- a/src/backend/utils/cache/relcache.c +++ b/src/backend/utils/cache/relcache.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.119 2000/12/08 06:17:56 inoue Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.120 2000/12/09 20:32:44 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -253,7 +253,6 @@ static void RelationClearRelation(Relation relation, bool rebuildIt); #ifdef ENABLE_REINDEX_NAILED_RELATIONS static void RelationReloadClassinfo(Relation relation); #endif /* ENABLE_REINDEX_NAILED_RELATIONS */ -static void RelationResetRelation(Relation relation, bool rebuildIt); static void RelationFlushRelation(Relation *relationPtr, int skipLocalRelations); static Relation RelationNameCacheGetRelation(const char *relationName);