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 New Issue
Block a user