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

Signed-off-by: John Keeping <john@keeping.me.uk>
这个提交包含在:
John Keeping 2015-03-08 16:32:26 +00:00 提交者 Jason A. Donenfeld
父节点 d34b967190
当前提交 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;