From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp36.i.mail.ru ([94.100.177.96]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYt2Z-00071l-C2 for barebox@lists.infradead.org; Sat, 12 Apr 2014 08:11:56 +0000 From: Alexander Shiyan Date: Sat, 12 Apr 2014 12:10:56 +0400 Message-Id: <1397290265-21273-3-git-send-email-shc_work@mail.ru> In-Reply-To: <1397290265-21273-1-git-send-email-shc_work@mail.ru> References: <1397290265-21273-1-git-send-email-shc_work@mail.ru> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 03/12] lzo: Remove unused variable To: barebox@lists.infradead.org Signed-off-by: Alexander Shiyan --- lib/decompress_unlzo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/decompress_unlzo.c b/lib/decompress_unlzo.c index 5ee3667..10ad42a 100644 --- a/lib/decompress_unlzo.c +++ b/lib/decompress_unlzo.c @@ -56,7 +56,6 @@ static inline int parse_header(u8 *input, int *skip, int in_len) int l; u8 *parse = input; u8 *end = input + in_len; - u8 level = 0; u16 version; /* @@ -78,7 +77,7 @@ static inline int parse_header(u8 *input, int *skip, int in_len) version = get_unaligned_be16(parse); parse += 7; if (version >= 0x0940) - level = *parse++; + parse++; if (get_unaligned_be32(parse) & HEADER_HAS_FILTER) parse += 8; /* flags + filter info */ else -- 1.8.3.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox