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 b9b8437dd51d0059f056d42300f773ac8324448f..31152c7f9ad5fa1bab3a2e881682a55ab180f0b6 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;