projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b18a8
)
git-clone-pack: fix sparse warning
author
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 7 Jul 2005 01:51:56 +0000
(18:51 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 7 Jul 2005 01:51:56 +0000
(18:51 -0700)
Local function that wasn't marked static
clone-pack.c
patch
|
blob
|
history
diff --git
a/clone-pack.c
b/clone-pack.c
index
b9b8437
..
31152c7
100644
(file)
--- a/
clone-pack.c
+++ b/
clone-pack.c
@@
-12,7
+12,7
@@
struct ref {
char name[0];
};
-struct ref *get_remote_refs(int fd, int nr_match, char **match)
+st
atic st
ruct ref *get_remote_refs(int fd, int nr_match, char **match)
{
struct ref *ref_list = NULL, **next_ref = &ref_list;