mirror of
https://github.com/git/git
synced 2024-09-12 21:04:12 +00:00
git-clone-pack: fix sparse warning
Local function that wasn't marked static
This commit is contained in:
parent
84b18a8e63
commit
dd7ba8b494
|
@ -12,7 +12,7 @@ struct ref {
|
|||
char name[0];
|
||||
};
|
||||
|
||||
struct ref *get_remote_refs(int fd, int nr_match, char **match)
|
||||
static struct ref *get_remote_refs(int fd, int nr_match, char **match)
|
||||
{
|
||||
struct ref *ref_list = NULL, **next_ref = &ref_list;
|
||||
|
||||
|
|
Loading…
Reference in a new issue