diff options
-rw-r--r-- | cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -411,7 +411,7 @@ int cache_ls(const char *path) | |||
411 | DIR *dir; | 411 | DIR *dir; |
412 | struct dirent *ent; | 412 | struct dirent *ent; |
413 | int err = 0; | 413 | int err = 0; |
414 | struct cache_slot slot = { 0 }; | 414 | struct cache_slot slot = { NULL }; |
415 | struct strbuf fullname = STRBUF_INIT; | 415 | struct strbuf fullname = STRBUF_INIT; |
416 | size_t prefixlen; | 416 | size_t prefixlen; |
417 | 417 | ||