Content-Length: 266508 | pFad | http://github.com/postgrespro/postgres/commit/fa56a0c3e01c175695e932e6cdc2c6915df5adc6

A4 Fix uninitialized-variable bug. · postgrespro/postgres@fa56a0c · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/fa56a0c3e01c175695e932e6cdc2c6915df5adc6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy