builtin/blame.c: Fix a "Using plain integer as NULL pointer" warning

Plain gcc may not but sparse catches and complains about this sort of stuff. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramsay Jones committed May 13, 2012 at 22:41 UTC 85c20c304f991b33b59fbf00182a66f5cf6d2960
1 file changed +1 -1
builtin/blame.c
+1 -1
@@ -93,7 +93,7 @@ static int diff_hunks(mmfile_t *file_a, mmfile_t *file_b, long ctxlen,
93 {
94 xpparam_t xpp = {0};
95 xdemitconf_t xecfg = {0};
96 - xdemitcb_t ecb = {0};
96 + xdemitcb_t ecb = {NULL};
97
98 xpp.flags = xdl_opts;
99 xecfg.ctxlen = ctxlen;