aboutsummaryrefslogtreecommitdiff
path: root/builtin-send-pack.c
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2009-03-26 21:37:53 -0500
committerJunio C Hamano <gitster@pobox.com>2009-03-26 21:01:34 -0700
commit6828f72ffee0d603b96bcde080ec13504f617669 (patch)
treee4d3423f166f64ec8ffcdac01caaab911f323ad3 /builtin-send-pack.c
parent64fcef2daa03f6093b480142c6ab2a4173b0b43e (diff)
downloadgit-6828f72ffee0d603b96bcde080ec13504f617669.tar.gz
git-6828f72ffee0d603b96bcde080ec13504f617669.tar.xz
builtin-send-pack.c: avoid empty structure initialization
The IRIX6.5 MIPSpro Compiler doesn't like it. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-send-pack.c')
-rw-r--r--builtin-send-pack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin-send-pack.c b/builtin-send-pack.c
index 91c36512a..d5a1c48d0 100644
--- a/builtin-send-pack.c
+++ b/builtin-send-pack.c
@@ -10,8 +10,7 @@ static const char send_pack_usage[] =
"git send-pack [--all | --mirror] [--dry-run] [--force] [--receive-pack=<git-receive-pack>] [--verbose] [--thin] [<host>:]<directory> [<ref>...]\n"
" --all and explicit <ref> specification are mutually exclusive.";
-static struct send_pack_args args = {
-};
+static struct send_pack_args args;
static int feed_object(const unsigned char *sha1, int fd, int negative)
{