summaryrefslogtreecommitdiff
path: root/builtin/revert.c
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2011-11-21 18:42:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-11-21 19:00:57 (GMT)
commitef563de6dd6997b913d5c87f6caf09db7e44bdcd (patch)
tree9bc482632e8148fbc850dc03bf4784659094a28c /builtin/revert.c
parente4ac953b2a1e33fedf210ac59394db480a6ade33 (diff)
downloadgit-ef563de6dd6997b913d5c87f6caf09db7e44bdcd.zip
git-ef563de6dd6997b913d5c87f6caf09db7e44bdcd.tar.gz
git-ef563de6dd6997b913d5c87f6caf09db7e44bdcd.tar.bz2
convert.c: Fix return type of git_path_check_eol()
The git_path_check_eol() function converts a string value to the corresponding 'enum eol' value. However, the function is currently declared to return an 'enum crlf_action', which causes sparse to complain thus: SP convert.c convert.c:736:50: warning: mixing different enum types convert.c:736:50: int enum crlf_action versus convert.c:736:50: int enum eol In order to suppress the warning, we simply correct the return type in the function declaration. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/revert.c')
0 files changed, 0 insertions, 0 deletions