index
:
cgit
382ecf152e (detached)
main
Hyperfast and read-only web frontend for git repositories
Bryce Kwon
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
cache.c
2
1 file changed, 1 insertion, 1 deletion
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)
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;