mirror of
https://github.com/git/git.git
synced 2024-11-24 18:33:43 +08:00
5b62e6374a
Sparse issues an "Using plain integer as NULL pointer" warning along with two "symbol was not declared. Should it be static?" type warnings for the 'merge_state_with_log' and 'find_recover_state' functions. In order to suppress the warnings, we replace the use of '0' as a null pointer constant with NULL and add the static modifier to the function definitions. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
regcomp.c | ||
regex_internal.c | ||
regex_internal.h | ||
regex.c | ||
regex.h | ||
regexec.c |