From 7fb390d10c896c861ba6205f2232669586ac5085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= Date: Sun, 23 Nov 2014 22:28:26 +0100 Subject: [PATCH] Mark 2 unused paramters as such MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mark 2 unused paramters to prevent clang from erroring out Change-Id: Ifc9b4a5b820bd6318e9259e737e708d25fdb174b Signed-off-by: Bernhard Rosenkränzer --- cmds/installd/installd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmds/installd/installd.c b/cmds/installd/installd.c index 7caa14654..4dd83ae92 100644 --- a/cmds/installd/installd.c +++ b/cmds/installd/installd.c @@ -42,12 +42,12 @@ static int do_dexopt(char **arg, char reply[REPLY_MAX] __unused) return dexopt(arg[0], atoi(arg[1]), atoi(arg[2]), arg[3], arg[4], atoi(arg[5]), 0); } -static int do_mark_boot_complete(char **arg, char reply[REPLY_MAX]) +static int do_mark_boot_complete(char **arg, char reply[REPLY_MAX] __unused) { return mark_boot_complete(arg[0] /* instruction set */); } -static int do_move_dex(char **arg, char reply[REPLY_MAX]) +static int do_move_dex(char **arg, char reply[REPLY_MAX] __unused) { return move_dex(arg[0], arg[1], arg[2]); /* src, dst, instruction_set */ }