builtin-send-pack.c: avoid empty structure initialization
authorBrandon Casey <casey@nrlssc.navy.mil>
Fri, 27 Mar 2009 02:37:53 +0000 (21:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Mar 2009 04:01:34 +0000 (21:01 -0700)
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>
builtin-send-pack.c

index 91c36512a8ac6f7930baafff82ffa3f51fb8127a..d5a1c48d0e2abab16c646ce86ac9670b95dddc07 100644 (file)
@@ -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)
 {