Skip to content
Snippets Groups Projects
Commit fa56a0c3 authored by Tom Lane's avatar Tom Lane
Browse files

Fix uninitialized-variable bug.

parent 4bcb82a7
No related branches found
No related tags found
No related merge requests found
......@@ -1211,12 +1211,12 @@ SlruScanDirCbDeleteAll(SlruCtl ctl, char *filename, int segpage, void *data)
bool
SlruScanDirectory(SlruCtl ctl, SlruScanCallback callback, void *data)
{
bool retval = false;
DIR *cldir;
struct dirent *clde;
int segno;
int segpage;
bool retval;
cldir = AllocateDir(ctl->Dir);
while ((clde = ReadDir(cldir, ctl->Dir)) != NULL)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment