Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 94708c0

Browse files
committed
Fix compiler warning.
Mithun Cy, per a report by Erik Rijkers
1 parent 293e24e commit 94708c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/hash/hashpage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ _hash_getcachedmetap(Relation rel, Buffer *metabuf, bool force_refresh)
12201220
Assert(metabuf);
12211221
if (force_refresh || rel->rd_amcache == NULL)
12221222
{
1223-
char *cache;
1223+
char *cache = NULL;
12241224

12251225
/*
12261226
* It's important that we don't set rd_amcache to an invalid

0 commit comments

Comments
 (0)