1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-15 13:43:45 +01:00
git/compat/regex
Ramsay Jones 5b62e6374a compat/regex/regexec.c: Fix some sparse warnings
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>
2013-04-28 12:24:18 -07:00
..
regcomp.c compat/regex: fix spelling and grammar in comments 2013-04-12 12:23:44 -07:00
regex.c compat/regex: fix spelling and grammar in comments 2013-04-12 12:23:44 -07:00
regex.h
regex_internal.c compat/regex: fix spelling and grammar in comments 2013-04-12 12:23:44 -07:00
regex_internal.h
regexec.c compat/regex/regexec.c: Fix some sparse warnings 2013-04-28 12:24:18 -07:00