Re: [PATCH v2 03/13] upload-pack: move static vars to upload_pack_data

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

 



On Tue, Jun 02, 2020 at 06:16:47AM +0200, Christian Couder wrote:

> -static int no_done;
> -static int daemon_mode;
> [...]
> +	unsigned no_done : 1;					/* v0 only */
> +	unsigned daemon_mode : 1;				/* v0 only */

These ones go from int to bitfield. It looks like we only ever assign
0/1 to them. Looks good.

-Peff



[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