projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
git-clone-pack: fix sparse warning
[git.git]
/
clone-pack.c
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;