projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37ad4e
)
swconfig: swlib_map_settings(): change return type to void
author
Alexander Couzens
<lynxis@fe80.eu>
Fri, 29 Jun 2018 03:36:06 +0000
(
05:36
+0200)
committer
Alexander Couzens
<lynxis@fe80.eu>
Fri, 29 Jun 2018 03:46:25 +0000
(
05:46
+0200)
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>
package/network/config/swconfig/src/uci.c
patch
|
blob
|
history
diff --git
a/package/network/config/swconfig/src/uci.c
b/package/network/config/swconfig/src/uci.c
index bf76bd3de1d3e1c5c906e410d3e13125529522fc..f99583b483a7842e003323bf0f949a43d8178cf9 100644
(file)
--- 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;