diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-10-08 16:56:08 +0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-10-08 16:56:39 +0800 |
commit | 22370d365b27c5d92362bd61f0e056d29a8b3be9 (patch) | |
tree | 1db1f37af2d559f6c20c76eaf9accfa1830b1092 /binding | |
parent | 658e9f54914bc055bd34ef650cefef36acbcdba2 (diff) |
binding: hvac: remove unused variables
Silence unused variable warnings from compiler by removing them
Bug-AGL: SPEC-1757
Change-Id: Iabe7aaf2874ee18b3ef2237200cc8a378d38bff2
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding')
-rw-r--r-- | binding/hvac-demo-binding.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/binding/hvac-demo-binding.c b/binding/hvac-demo-binding.c index a7b7d3d..241f30d 100644 --- a/binding/hvac-demo-binding.c +++ b/binding/hvac-demo-binding.c @@ -40,7 +40,6 @@ #define CAN_DEV "vcan0" -static const struct afb_binding_interface *interface; static struct afb_event event; /*****************************************************************************************/ @@ -282,7 +281,7 @@ static int parse_config() static int temp_write_led() { - int rc = -1, red_value, green_value, blue_value; + int red_value, green_value, blue_value; int right_temp; int left_temp; @@ -704,7 +703,7 @@ int bindingServiceInit(struct afb_service service) void onEvent(const char *event_name, struct json_object *object) { - json_object *args, *language = json_object_new_object(); + json_object *language = json_object_new_object(); json_object *id_evt_name, *current_identity; AFB_NOTICE("Event '%s' received: %s", event_name, |