about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lr.c b/lr.c
index da57ba7..7635e31 100644
--- a/lr.c
+++ b/lr.c
@@ -2250,7 +2250,7 @@ static int
 recurse(char *path, struct history *h, int guessdir)
 {
 	size_t l = strlen(path), j = l && path[l-1] == '/' ? l - 1 : l;
-	struct stat st;
+	struct stat st = { 0 };
 	struct history new;
 	int r;
 	ino_t entries;