From: Robert Haas Date: Fri, 4 Nov 2011 14:40:52 +0000 (-0400) Subject: Silence bogus compiler warning. X-Git-Tag: REL9_2_BETA1~873 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b76c61f1e862f5e8e41ffc7154e83688742aab0e;p=postgresql Silence bogus compiler warning. --- diff --git a/contrib/pg_upgrade/relfilenode.c b/contrib/pg_upgrade/relfilenode.c index d67d01fea9..721bf4d8db 100644 --- a/contrib/pg_upgrade/relfilenode.c +++ b/contrib/pg_upgrade/relfilenode.c @@ -44,7 +44,7 @@ transfer_all_new_dbs(DbInfoArr *old_db_arr, old_dbnum < old_db_arr->ndbs; old_dbnum++, new_dbnum++) { - DbInfo *old_db = &old_db_arr->dbs[old_dbnum], *new_db; + DbInfo *old_db = &old_db_arr->dbs[old_dbnum], *new_db = NULL; FileNameMap *mappings; int n_maps; pageCnvCtx *pageConverter = NULL;