diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2011-09-11 20:26:53 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-11 14:43:33 -0700 |
commit | 3254310863d6964f5b750a373b9e5598ce529381 (patch) | |
tree | d40e4be02081326a14e065df4004d22930fb60a5 /compat/nedmalloc | |
parent | sparse: Fix an "Using plain integer as NULL pointer" warning (diff) | |
download | tgif-3254310863d6964f5b750a373b9e5598ce529381.tar.xz |
obstack.c: Fix some sparse warnings
In particular, sparse issues the following warnings:
compat/obstack.c:176:17: warning: Using plain integer as NULL pointer
compat/obstack.c:224:17: warning: Using plain integer as NULL pointer
compat/obstack.c:324:16: warning: Using plain integer as NULL pointer
compat/obstack.c:329:16: warning: Using plain integer as NULL pointer
compat/obstack.c:347:16: warning: Using plain integer as NULL pointer
compat/obstack.c:362:19: warning: Using plain integer as NULL pointer
compat/obstack.c:379:29: warning: Using plain integer as NULL pointer
compat/obstack.c:399:1: error: symbol 'print_and_abort' redeclared with \
different type (originally declared at compat/obstack.c:95) \
- different modifiers
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/nedmalloc')
0 files changed, 0 insertions, 0 deletions