summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-03-26 21:01:44 -0700
committerJunio C Hamano <gitster@pobox.com>2009-03-26 21:01:44 -0700
commit9856dd811ee0f256d067b89cbccb58d944aa9c8c (patch)
tree85aefbea0c3b9fbc87ba3dba188f9becce729410
parent9fe00538c693929d4dec29690fe7660106fe056a (diff)
parent6828f72ffee0d603b96bcde080ec13504f617669 (diff)
downloadgit-9856dd811ee0f256d067b89cbccb58d944aa9c8c.tar.gz
Merge branch 'db/push-cleanup'
* db/push-cleanup: builtin-send-pack.c: avoid empty structure initialization
-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 91c36512a8..d5a1c48d0e 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)
{