From: Alexander Couzens Date: Fri, 29 Jun 2018 03:36:06 +0000 (+0200) Subject: swconfig: swlib_map_settings(): change return type to void X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b06c447c5f66fd13078327bda3d885d48e2c0e42;p=openwrt%2Fstaging%2Fblogic.git swconfig: swlib_map_settings(): change return type to void The return value of the function isn't used anywhere. Fixes missing return value, CID 1329717. Found-by: Coverity Signed-off-by: Alexander Couzens --- diff --git a/package/network/config/swconfig/src/uci.c b/package/network/config/swconfig/src/uci.c index bf76bd3de1d3..f99583b483a7 100644 --- a/package/network/config/swconfig/src/uci.c +++ b/package/network/config/swconfig/src/uci.c @@ -59,7 +59,7 @@ static bool swlib_match_name(struct switch_dev *dev, const char *name) strcmp(name, dev->alias) == 0); } -static int +static void swlib_map_settings(struct switch_dev *dev, int type, int port_vlan, struct uci_section *s) { struct swlib_setting *setting;