X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/db9a70b159a107da29f88865d63ba14dd127556f..30304d8156a72ffc95e45e1aa9407319b81bd253:/cache.c diff --git a/cache.c b/cache.c index 900b161..cd99812 100644 --- a/cache.c +++ b/cache.c @@ -411,7 +411,7 @@ int cache_ls(const char *path) DIR *dir; struct dirent *ent; int err = 0; - struct cache_slot slot = { 0 }; + struct cache_slot slot = { NULL }; struct strbuf fullname = STRBUF_INIT; size_t prefixlen;