From: Paolo Bonzini Date: Mon, 26 Jan 2015 11:12:26 +0000 (+0100) Subject: aes: remove a dead return statement X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a50c7c869a4fa1c78b4c38d3419566dd25d32e90;p=qemu.git aes: remove a dead return statement bits is checked to be 128, 192 or 256 at the beginning of the function. Signed-off-by: Paolo Bonzini Signed-off-by: Michael Tokarev --- diff --git a/util/aes.c b/util/aes.c index 6058f1950b..3d7c4be9b6 100644 --- a/util/aes.c +++ b/util/aes.c @@ -1161,7 +1161,7 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, rk += 8; } } - return 0; + abort(); } /**