cli: remove unused variable assigment
[project/uci.git] / cli.c
diff --git a/cli.c b/cli.c
index 1ce4d5ed1d334b913b3ceaa2e1925e33264fe1d8..8970f4f0b8cec1f0eed0804272e22bcfeb06d667 100644 (file)
--- a/cli.c
+++ b/cli.c
@@ -571,7 +571,7 @@ static int uci_batch_cmd(void)
                        return 1;
                }
                argv[i] = NULL;
-               if ((ret = uci_parse_argument(ctx, input, &str, &argv[i])) != UCI_OK) {
+               if (uci_parse_argument(ctx, input, &str, &argv[i]) != UCI_OK) {
                        cli_perror();
                        i = 0;
                        break;