提交 dd7ba8b4 编写于 作者: L Linus Torvalds

git-clone-pack: fix sparse warning

Local function that wasn't marked static
上级 84b18a8e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册