From 7ee55624fb3f4ac2057f66f00bd6a3cf9d50dccb Mon Sep 17 00:00:00 2001 From: Alfred Klomp Date: Mon, 14 Jul 2014 22:16:39 +0200 Subject: [PATCH] gcm.c: remove dead store Found with Clang's `scan-build` tool. The value written to `hi` is never used, resulting in a warning. Remove the dead store to get rid of the warning. --- library/gcm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/library/gcm.c b/library/gcm.c index 2456c40cc3..d48f318d3b 100644 --- a/library/gcm.c +++ b/library/gcm.c @@ -220,7 +220,6 @@ static void gcm_mult( gcm_context *ctx, const unsigned char x[16], #endif /* POLARSSL_AESNI_C && POLARSSL_HAVE_X86_64 */ lo = x[15] & 0xf; - hi = x[15] >> 4; zh = ctx->HH[lo]; zl = ctx->HL[lo];