mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
Avoid compiler warning.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
0bc4589020
commit
f5a5e9b9f4
|
@ -3,7 +3,7 @@
|
|||
static const char git_symbolic_ref_usage[] =
|
||||
"git-symbolic-ref name [ref]";
|
||||
|
||||
static int check_symref(const char *HEAD)
|
||||
static void check_symref(const char *HEAD)
|
||||
{
|
||||
unsigned char sha1[20];
|
||||
const char *git_HEAD = strdup(git_path("%s", HEAD));
|
||||
|
|
Loading…
Reference in a new issue