Re: [PATCH v13 11/16] ls-tree: introduce "--format" option

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

 



On Mon, Mar 21 2022, Teng Long wrote:

> From: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx>
> [...]
> +	} else if (format && (!strcmp(format, name_only_format))) {
> +		shown_fields = FIELD_PATH_NAME;
> +		fn = show_tree;
> +	} else if (format)
> +		fn = show_tree_fmt;

Missing {} braces for this "else if" arm.




[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