From 0cd41722a596730f06f40e4f7e94a03ff53fb08e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 27 Jan 2014 14:35:55 +0100 Subject: [PATCH] gcrypt: Fix gcc warning on Ubuntu Lucid. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit For some reason the gcc-4.4.3 that ships with Ubuntu Lucid started to complain recently: gcrypt.c: In function ‘mgf1’: gcrypt.c:101: warning: ISO C90 forbids mixed declarations and code It turned out that a double semicolon is responsible for the warning. This patch removes the duplicate. --- gcrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcrypt.c b/gcrypt.c index 0183dc38..1cfd1096 100644 --- a/gcrypt.c +++ b/gcrypt.c @@ -97,7 +97,7 @@ static void mgf1(unsigned char *seed, size_t seed_len, unsigned result_len, { gcry_error_t gret; gcry_md_hd_t handle; - size_t n;; + size_t n; unsigned char *md; unsigned char octet_string[4], *rp = result, *end = rp + result_len; -- 2.39.5