From df59112b84e701fcc0a20e9fe15a2673b6fc9e68 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 4270564..28b6e7d 100644 --- a/tools/src/fwinfo.c +++ b/tools/src/fwinfo.c @@ -242,8 +242,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