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

Signed-off-by: John Keeping <john@keeping.me.uk>
jk/collapsible-sections
John Keeping 9 years ago committed by Jason A. Donenfeld
parent d34b967190
commit 80d52079f7

@ -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;

Loading…
Cancel
Save