diff options
Diffstat (limited to 'cache.c')
-rw-r--r-- | cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||