libnl-tiny: fix duplicated branch in family.h
authorJesus Fernandez Manzano <jesus.manzano@galgus.net>
Tue, 13 Dec 2022 17:14:33 +0000 (18:14 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 6 Jan 2023 18:55:57 +0000 (19:55 +0100)
commitf5d9b7e4f534a69cbd35c3f150fa6d57b9d631e4
treec812e3bb460c8161ff1d08be3dc34d3ab3b5d6cc
parentdb3b2cdbca5277723326a2720024a59fb821ae36
libnl-tiny: fix duplicated branch in family.h

Duplicated branch in function genl_family_get_maxattr().
Detected by gcc with -Werror=duplicated-branches.

libnl-tiny/netlink/genl/family.h:118:5: error: this condition has
identical branches [-Werror=duplicated-branches]
  if (family->ce_mask & FAMILY_ATTR_MAXATTR)

Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>
include/netlink/genl/family.h