X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/f32a2da636ffa6eaa6b8d0d3f35a673fa12e404a..ed3497b0de6634350cd17b320538fba918d4084c:/cache.c diff --git a/cache.c b/cache.c index aa870e3..fa83ddc 100644 --- a/cache.c +++ b/cache.c @@ -1,6 +1,6 @@ /* cache.c: cache management * - * Copyright (C) 2006 Lars Hjemli + * Copyright (C) 2006-2014 cgit Development Team * * Licensed under GNU General Public License v2 * (see COPYING for full license text) @@ -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;