From 42de5f479b417f8628b1302d3c97f32fa47bb799 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Fri, 26 Sep 2014 11:16:45 +0300 Subject: [PATCH] android/core: Fix extra assignment prop is assigned in the beginning of for() loop. Fixes warning: ... android/main.c:336:3: warning: Value stored to 'prop' is never read prop = buf; ^ ~~~ ... --- android/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/android/main.c b/android/main.c index e364ca220..27f5c48d7 100644 --- a/android/main.c +++ b/android/main.c @@ -333,7 +333,6 @@ static void configuration(const void *buf, uint16_t len) buf += sizeof(*prop) + prop->len; len -= sizeof(*prop) + prop->len; - prop = buf; } ipc_send_rsp(hal_ipc, HAL_SERVICE_ID_CORE, HAL_OP_CONFIGURATION, -- 2.47.3