projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deb153a
)
Avoid warning about function without return.
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sun, 19 Jun 2005 03:02:49 +0000
(20:02 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sun, 19 Jun 2005 03:02:49 +0000
(20:02 -0700)
Strangely, this warning only shows up when not compiling with "-O2",
which is why I didn't see it originally.
rev-list.c
patch
|
blob
|
history
diff --git
a/rev-list.c
b/rev-list.c
index c7ebd2f03cd578ea0f21c3e4037e955a11b2c165..6e6a6dfecd72c4380f7248ff61fc607ffc1dbfc2 100644
(file)
--- a/
rev-list.c
+++ b/
rev-list.c
@@
-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;