[PATCH] last else cases is unreachable

Marcus Meissner marcus at jet.franken.de
Sat Dec 8 05:17:42 CST 2007


The last else case is unreachable, since we limited
the choices to 16,24 and 32 above already.

spotted by coverity.

Ciao, Marcus
---
 dlls/rsaenh/aes.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/rsaenh/aes.c b/dlls/rsaenh/aes.c
index c0beb14..0b12e23 100644
--- a/dlls/rsaenh/aes.c
+++ b/dlls/rsaenh/aes.c
@@ -1076,8 +1076,6 @@ int aes_setup(const unsigned char *key, int keylen, int rounds, aes_key *skey)
             rk[15] = rk[ 7] ^ rk[14];
             rk += 8;
         }
-    } else {
-       j = 4;
     }
 
     rk   = skey->dK;
-- 
1.5.2.4



More information about the wine-patches mailing list