aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-03-14 10:59:07 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-03-14 11:01:37 +0100
commitf62f4e2a264428fa94fc0d658e02ed00b895939c (patch)
tree1d9165dd6dc14190da2cee77dd2bcbd137018e04
parent39d36dfadc1de6a2063e2928f8f8a00683b14a07 (diff)
utils-json: fix a warning when compiling
Change-Id: I3e354cb9e940798a995e79fe67d05607130c9714 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/utils-json.c2
1 files changed, 1 insertions, 1 deletions
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);