From: Andre Noll Date: Mon, 27 Jan 2014 13:35:55 +0000 (+0100) Subject: gcrypt: Fix gcc warning on Ubuntu Lucid. X-Git-Tag: v0.5.2~6^2~4 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=0cd41722a596730f06f40e4f7e94a03ff53fb08e gcrypt: Fix gcc warning on Ubuntu Lucid. 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. --- 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;