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.
This commit is contained in:
parent
deb153a75a
commit
3d958064e0
@ -149,7 +149,7 @@ static int count_distance(struct commit_list *entry)
|
|||||||
return nr;
|
return nr;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int clear_distance(struct commit_list *list)
|
static void clear_distance(struct commit_list *list)
|
||||||
{
|
{
|
||||||
while (list) {
|
while (list) {
|
||||||
struct commit *commit = list->item;
|
struct commit *commit = list->item;
|
||||||
|
Loading…
Reference in New Issue
Block a user