Re: [PATCH] builtin-send-pack.c: avoid empty structure initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brandon Casey <casey@xxxxxxxxxxxxxxx> writes:

> The IRIX6.5 MIPSpro Compiler doesn't like it.
>
> Signed-off-by: Brandon Casey <casey@xxxxxxxxxxxxxxx>
> ...
> 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=<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)
>  {

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux