aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-06-29 05:36:06 +0200
committerAlexander Couzens <lynxis@fe80.eu>2018-06-29 05:46:25 +0200
commitb06c447c5f66fd13078327bda3d885d48e2c0e42 (patch)
treea06654e575e77c36bb0509da31e884db8e428440
parente37ad4e5ca2e70387656da81704ee4d4589c6d70 (diff)
downloadupstream-b06c447c5f66fd13078327bda3d885d48e2c0e42.tar.gz
upstream-b06c447c5f66fd13078327bda3d885d48e2c0e42.tar.bz2
upstream-b06c447c5f66fd13078327bda3d885d48e2c0e42.zip
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 <lynxis@fe80.eu>
-rw-r--r--package/network/config/swconfig/src/uci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/swconfig/src/uci.c b/package/network/config/swconfig/src/uci.c
index bf76bd3de1..f99583b483 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;