Fix compiler warning.

Mithun Cy, per a report by Erik Rijkers
pull/17/merge
Robert Haas 9 years ago
parent 293e24e507
commit 94708c0e8c
  1. 2
      src/backend/access/hash/hashpage.c

@ -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

Loading…
Cancel
Save