1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-24 10:47:04 +03:00

Fix compiler warning.

Mithun Cy, per a report by Erik Rijkers
This commit is contained in:
Robert Haas 2017-02-07 15:09:14 -05:00
parent 293e24e507
commit 94708c0e8c

View File

@ -1220,7 +1220,7 @@ _hash_getcachedmetap(Relation rel, Buffer *metabuf, bool force_refresh)
Assert(metabuf); Assert(metabuf);
if (force_refresh || rel->rd_amcache == NULL) if (force_refresh || rel->rd_amcache == NULL)
{ {
char *cache; char *cache = NULL;
/* /*
* It's important that we don't set rd_amcache to an invalid * It's important that we don't set rd_amcache to an invalid