about summary refs log tree commit diff stats
path: root/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'cache.c')
-rw-r--r--cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.c b/cache.c index d339435..fa83ddc 100644 --- a/cache.c +++ b/cache.c
@@ -376,7 +376,7 @@ int cache_ls(const char *path)
376 DIR *dir; 376 DIR *dir;
377 struct dirent *ent; 377 struct dirent *ent;
378 int err = 0; 378 int err = 0;
379 struct cache_slot slot; 379 struct cache_slot slot = { 0 };
380 struct strbuf fullname = STRBUF_INIT; 380 struct strbuf fullname = STRBUF_INIT;
381 size_t prefixlen; 381 size_t prefixlen;
382 382