mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
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.
This commit is contained in:
committed by
Manuel Pégourié-Gonnard
parent
7c03424d1c
commit
7ee55624fb
@ -220,7 +220,6 @@ static void gcm_mult( gcm_context *ctx, const unsigned char x[16],
|
|||||||
#endif /* POLARSSL_AESNI_C && POLARSSL_HAVE_X86_64 */
|
#endif /* POLARSSL_AESNI_C && POLARSSL_HAVE_X86_64 */
|
||||||
|
|
||||||
lo = x[15] & 0xf;
|
lo = x[15] & 0xf;
|
||||||
hi = x[15] >> 4;
|
|
||||||
|
|
||||||
zh = ctx->HH[lo];
|
zh = ctx->HH[lo];
|
||||||
zl = ctx->HL[lo];
|
zl = ctx->HL[lo];
|
||||||
|
Reference in New Issue
Block a user