]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu-cputype.c: assign value to multiple variables (ar->bit32 and ar->bit64)
authorrilysh <nightquick@proton.me>
Wed, 6 Dec 2023 05:21:27 +0000 (00:21 -0500)
committerrilysh <nightquick@proton.me>
Wed, 6 Dec 2023 05:21:27 +0000 (00:21 -0500)
commitc6e4c15b9b4b20b51ae23c5e78f0ee68a895fd34
tree555e53e3121762344f7fec6f7f20c99c7202ab30
parent5ad87d6ea2a212f0015b3ed28eecdbebdbcf43aa
lscpu-cputype.c: assign value to multiple variables (ar->bit32 and ar->bit64)
clang with -Wcomma will emit an warning of "misuse of comma operator".
Since the value that will be assigned, is the same for both (bit32 and bit64),
just assigning directly to both variables seems reasonable.

Signed-off-by: rilysh <nightquick@proton.me>
sys-utils/lscpu-cputype.c