mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 16:26:30 -04:00
Fix compiler warning.
Mithun Cy, per a report by Erik Rijkers
This commit is contained in:
parent
293e24e507
commit
94708c0e8c
1 changed files with 1 additions and 1 deletions
|
|
@ -1220,7 +1220,7 @@ _hash_getcachedmetap(Relation rel, Buffer *metabuf, bool force_refresh)
|
|||
Assert(metabuf);
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue