Re: [PATCH] tree-walk.c: fix some sparse 'NULL pointer' warnings

2015-05-20 Thread David Turner
re-rolled, thanks. On Tue, 2015-05-19 at 23:16 +0100, Ramsay Jones wrote: Commit 811cd77b (tree-walk: learn get_tree_entry_follow_symlinks, 14-05-2015) introduced a new function to locate an object by path while following symlinks in the repository. However, sparse now issues some Using plain

[PATCH] tree-walk.c: fix some sparse 'NULL pointer' warnings

2015-05-19 Thread Ramsay Jones
Commit 811cd77b (tree-walk: learn get_tree_entry_follow_symlinks, 14-05-2015) introduced a new function to locate an object by path while following symlinks in the repository. However, sparse now issues some Using plain integer as NULL pointer warnings as follows: SP tree-walk.c