From: José Bollo Date: Tue, 14 Mar 2017 09:59:07 +0000 (+0100) Subject: utils-json: fix a warning when compiling X-Git-Tag: x-last-without-systemd~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=f62f4e2a264428fa94fc0d658e02ed00b895939c utils-json: fix a warning when compiling Change-Id: I3e354cb9e940798a995e79fe67d05607130c9714 Signed-off-by: José Bollo --- diff --git a/src/utils-json.c b/src/utils-json.c index fe98c3c..f2d99c1 100644 --- a/src/utils-json.c +++ b/src/utils-json.c @@ -275,7 +275,7 @@ int j_add_many_strings_m(struct json_object *obj, ...) { const char *key, *val; va_list ap; - int rc, rc2; + int rc; rc = 1; va_start(ap, obj);