bendns' repos
/
cgit
the repository which powers this website
themed
1
Branch
0
Tags
Code
Clone
HTTPS
SSH
Open with VS Code
Diffstat
(limited to 'cache.c')
-rw-r--r--
cache.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.c b/cache.c
index d339435b..fa83ddc3 100644
--- a/
cache.c
+++ b/
cache.c
@@ -376,7 +376,7 @@ int cache_ls(const char *path)
DIR *dir;
struct dirent *ent;
int err = 0;
- struct cache_slot slot;
+ struct cache_slot slot = { 0 };
struct strbuf fullname = STRBUF_INIT;
size_t prefixlen;