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:
parent
293e24e507
commit
94708c0e8c
@ -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…
x
Reference in New Issue
Block a user