From: Junio C Hamano Date: Fri, 27 Mar 2009 04:02:56 GMT Subject: Re: [PATCH] builtin-send-pack.c: avoid empty structure initialization Message-ID: <7vfxgzipe7.fsf@gitster.siamese.dyndns.org> In-Reply-To: <5dTED0fgBNPRxaQcq2Yx362_Ykx8_d294JWsQ989AjNLfL5kjzWRBnuVa1D9jLmvQzvhAD5NPfY@cipher.nrlssc.navy.mil> Brandon Casey writes: > The IRIX6.5 MIPSpro Compiler doesn't like it. > > Signed-off-by: Brandon Casey > ... > diff --git a/builtin-send-pack.c b/builtin-send-pack.c > index 91c3651..d5a1c48 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=] [--verbose] [--thin] [:] [...]\n" > " --all and explicit 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) > { Thanks.