Skip to content

Commit fa56a0c

Browse files
committed
Fix uninitialized-variable bug.
1 parent 4bcb82a commit fa56a0c

File tree

1 file changed

+2
-2
lines changed
  • src/backend/access/transam

1 file changed

+2
-2
lines changed

src/backend/access/transam/slru.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,12 +1211,12 @@ SlruScanDirCbDeleteAll(SlruCtl ctl, char *filename, int segpage, void *data)
12111211
bool
12121212
SlruScanDirectory(SlruCtl ctl, SlruScanCallback callback, void *data)
12131213
{
1214+
bool retval = false;
12141215
DIR *cldir;
12151216
struct dirent *clde;
12161217
int segno;
12171218
int segpage;
1218-
bool retval;
1219-
1219+
12201220
cldir = AllocateDir(ctl->Dir);
12211221
while ((clde = ReadDir(cldir, ctl->Dir)) != NULL)
12221222
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy