From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFhbB-00050C-Il for qemu-devel@nongnu.org; Mon, 26 Jan 2015 06:13:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFhb2-0001jF-8R for qemu-devel@nongnu.org; Mon, 26 Jan 2015 06:12:53 -0500 Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 26 Jan 2015 12:12:26 +0100 Message-Id: <1422270747-23994-7-git-send-email-pbonzini@redhat.com> In-Reply-To: <1422270747-23994-1-git-send-email-pbonzini@redhat.com> References: <1422270747-23994-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 6/7] aes: remove a dead return statement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, armbru@redhat.com bits is checked to be 128, 192 or 256 at the beginning of the function. Signed-off-by: Paolo Bonzini --- util/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/aes.c b/util/aes.c index 6058f19..f42126a 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(); } /** -- 1.8.3.1