[krbdev.mit.edu #7631] [PATCH] krb5: fix crypto built-in no effect warning

Gilles Espinasse via RT rt-comment at krbdev.mit.edu
Wed May 8 14:32:58 EDT 2013


gcc complain with
aes.c:186: warning: statement with no effect

That look to never do something in the git history range.

Signed-off-by: Gilles Espinasse <g.esp at free.fr>
---
 src/lib/crypto/builtin/enc_provider/aes.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/lib/crypto/builtin/enc_provider/aes.c b/src/lib/crypto/builtin/enc_provider/aes.c
index b46680a..c28f6d4 100644
--- a/src/lib/crypto/builtin/enc_provider/aes.c
+++ b/src/lib/crypto/builtin/enc_provider/aes.c
@@ -27,8 +27,6 @@
 #include "crypto_int.h"
 #include "aes.h"
 
-#define CHECK_SIZES 0
-
 /*
  * Private per-key data to cache after first generation.  We don't
  * want to mess with the imported AES implementation too much, so
@@ -183,8 +181,6 @@ krb5int_aes_decrypt(krb5_key key, const krb5_data *ivec, krb5_crypto_iov *data,
     size_t input_length;
     struct iov_block_state input_pos, output_pos;
 
-    CHECK_SIZES;
-
     if (key->cache == NULL) {
         key->cache = malloc(sizeof(struct aes_key_info_cache));
         if (key->cache == NULL)
-- 
1.7.2.5




More information about the krb5-bugs mailing list