neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 80d52079f7f58d273d99745f93909e5c6524a9bd
parent d34b96719053ff9340519b64f6d970caaa64350d
Author: John Keeping <john@keeping.me.uk>
Date:   Sun,  8 Mar 2015 16:32:26 +0000

cache: don't use an integer as a NULL pointer

Signed-off-by: John Keeping <john@keeping.me.uk>

Diffstat:
Mcache.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;