swconfig: remove useless variables, return -1 on errors
authorJohn Crispin <john@openwrt.org>
Fri, 27 Dec 2013 21:15:20 +0000 (21:15 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 27 Dec 2013 21:15:20 +0000 (21:15 +0000)
commitac9a3bee88ec2cea1e75e3434881a9f8f185d2d9
tree2fc67be908effc36ef850c6d3ed47b0ad8e505f2
parent599ecafb8388bd9fc71764ef1f175fd1d94751dc
swconfig: remove useless variables, return -1 on errors

spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 39170
package/network/config/swconfig/src/cli.c
package/network/config/swconfig/src/swlib.c
package/network/config/swconfig/src/uci.c