From: Jon Spillett Date: Wed, 12 Apr 2017 01:56:45 +0000 (+1000) Subject: Remove unused variable. Thanks @pauli-oracle X-Git-Tag: OpenSSL_1_1_1-pre1~1796 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=0bf3c66c9d5cfc4dc7b0eee326ac3554956d7aa3 Remove unused variable. Thanks @pauli-oracle Reviewed-by: Richard Levitte Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/3177) --- diff --git a/test/bftest.c b/test/bftest.c index 2bba060100..978fd582b1 100644 --- a/test/bftest.c +++ b/test/bftest.c @@ -339,14 +339,14 @@ static int test_bf_ecb(int n) static int test_bf_set_key(int n) { - int i, ret = 1; + int ret = 1; BF_KEY key; unsigned char out[8]; BF_set_key(&key, n+1, key_test); BF_ecb_encrypt(key_data, out, &key, BF_ENCRYPT); /* mips-sgi-irix6.5-gcc vv -mabi=64 bug workaround */ - if (!TEST_mem_eq(out, 8, &(key_out[i = n][0]), 8)) + if (!TEST_mem_eq(out, 8, &(key_out[n][0]), 8)) ret = 0; return ret;