author | Stephen Boyd <bebarino@gmail.com> | |
Sun, 3 Apr 2011 07:06:54 +0000 (00:06 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 3 Apr 2011 17:14:53 +0000 (10:14 -0700) | ||
commit | 1e4cd68c0041d4c6aaa0562a4528a030944d37ee | |
tree | 05d5ec9abbd6b79aa4e180b385188e726c21f6c6 | tree | snapshot |
parent | cb35c0646d2b6a911f516ac2e45d2e23b038f646 | commit | diff |
sparse: Fix errors and silence warnings
* load_file() returns a void pointer but is using 0 for the return
value
* builtin/receive-pack.c forgot to include builtin.h
* packet_trace_prefix can be marked static
* ll_merge takes a pointer for its last argument, not an int
* crc32 expects a pointer as the second argument but Z_NULL is defined
to be 0 (see 38f4d13 sparse fix: Using plain integer as NULL pointer,
2006-11-18 for more info)
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
* load_file() returns a void pointer but is using 0 for the return
value
* builtin/receive-pack.c forgot to include builtin.h
* packet_trace_prefix can be marked static
* ll_merge takes a pointer for its last argument, not an int
* crc32 expects a pointer as the second argument but Z_NULL is defined
to be 0 (see 38f4d13 sparse fix: Using plain integer as NULL pointer,
2006-11-18 for more info)
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/grep.c | diff | blob | history | |
builtin/index-pack.c | diff | blob | history | |
builtin/receive-pack.c | diff | blob | history | |
csum-file.c | diff | blob | history | |
pack-check.c | diff | blob | history | |
pkt-line.c | diff | blob | history | |
rerere.c | diff | blob | history |