From d9783b425110f06f6c3f1267e68358b30fbd8d34 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Mon, 22 Aug 2016 23:39:55 +0200 Subject: [PATCH] carl9170 firmware tools: remove unused otus_magic MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit gcc 6.2.0 is warning about the following unused const: src/fwinfo.c:265:22: warning: ‘otus_magic’ defined but not used. Signed-off-by: Christian Lamparter --- tools/src/fwinfo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/src/fwinfo.c b/tools/src/fwinfo.c index cd5466c..87fdf54 100644 --- a/tools/src/fwinfo.c +++ b/tools/src/fwinfo.c @@ -262,8 +262,6 @@ static const struct { ADD_HANDLER(LAST, show_last_desc), }; -static const uint8_t otus_magic[4] = { OTUS_MAGIC }; - static void show_desc_head(struct carl9170fw_desc_head *head) { #define P(c) (isprint(c) ? c : ' ') -- 2.31.1