Missing var declaration
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 31 May 2017 07:23:19 +0000 (09:23 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 1 Jun 2017 16:26:18 +0000 (18:26 +0200)
Change-Id: Icbb18bcdeae1d928d3981d21fc547d2940b198bd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/binding/low-can-cb.cpp

index b28bb6d..abcd69b 100644 (file)
@@ -483,7 +483,7 @@ static int one_subscribe_unsubscribe(struct afb_req request, bool subscribe, con
 
 static void do_subscribe_unsubscribe(struct afb_req request, bool subscribe)
 {
-       int rc, rc2;
+       int i, n, rc, rc2;
        struct json_object *args, *event, *x;
 
        args = afb_req_json(request);