提交 3d958064 编写于 作者: L Linus Torvalds

Avoid warning about function without return.

Strangely, this warning only shows up when not compiling with "-O2",
which is why I didn't see it originally.
上级 deb153a7
......@@ -149,7 +149,7 @@ static int count_distance(struct commit_list *entry)
return nr;
}
static int clear_distance(struct commit_list *list)
static void clear_distance(struct commit_list *list)
{
while (list) {
struct commit *commit = list->item;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册