diff options
Diffstat (limited to '')
-rw-r--r-- | ui-shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c index 968933f..d4fb3d9 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -523,6 +523,7 @@ void cgit_submodule_link(const char *class, char *path, const char *rev) char tail, *dir; size_t len; + len = 0; tail = 0; list = &ctx.repo->submodules; item = lookup_path(list, path); |