Skip to content

Commit

Permalink
builtin-send-pack.c: avoid empty structure initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Mar 27, 2009
1 parent 64fcef2 commit 6828f72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builtin-send-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 6828f72

Please sign in to comment.