cli: remove unused variable assigment
authorPetr Štetiar <ynezz@true.cz>
Mon, 4 Nov 2019 23:28:15 +0000 (00:28 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 14 Nov 2019 16:11:34 +0000 (17:11 +0100)
commit7736f497d2d9a43cd36526c8d8a12718eff2e6c7
tree2f458e7da8eb2cb355684ffe82a42be1d26b273e
parent39093f3b040df895da812e2932b55feeeb1201df
cli: remove unused variable assigment

scan-build from clang version 9 has reported following issue:

 cli.c:574:8: warning: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret'
                if ((ret = uci_parse_argument(ctx, input, &str, &argv[i])) != UCI_OK) {
                     ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Petr Štetiar <ynezz@true.cz>
cli.c