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
c7ebd2f
..
6e6a6df
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;