]> gitweb.ps.run Git - ps-cgit/blobdiff - cache.c
authors: specify maintainers
[ps-cgit] / cache.c
diff --git a/cache.c b/cache.c
index d339435b7f8b7fc8cd75216ee594787074f98f31..fa83ddc33c15d71e6e6372bd6713bbfd9c4ecaa6 100644 (file)
--- 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;