summaryrefslogtreecommitdiff
path: root/cipher/camellia-glue.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2013-11-18 20:27:35 +0200
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2013-11-19 19:28:26 +0200
commit9816ae9d9931b75e4fdc9a5be10e6af447132313 (patch)
tree92f4b1cbcb0f42abb8c2be689f21cbbdc7ad7a29 /cipher/camellia-glue.c
parent77922a82c3f2e30eca04511fa5a355208349c657 (diff)
downloadlibgcrypt-9816ae9d9931b75e4fdc9a5be10e6af447132313.tar.gz
Camellia: fix compiler warning
* cipher/camellia-glue.c (camellia_setkey): Use braces around empty if statement. -- Patch silences following warning: camellia-glue.c: In function 'camellia_setkey': camellia-glue.c:183:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki-fi>
Diffstat (limited to 'cipher/camellia-glue.c')
-rw-r--r--cipher/camellia-glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/camellia-glue.c b/cipher/camellia-glue.c
index 575bb04b..f18d1358 100644
--- a/cipher/camellia-glue.c
+++ b/cipher/camellia-glue.c
@@ -180,7 +180,7 @@ camellia_setkey(void *c, const byte *key, unsigned keylen)
ctx->keybitlength=keylen*8;
if (0)
- ;
+ { }
#ifdef USE_AESNI_AVX
else if (ctx->use_aesni_avx)
_gcry_camellia_aesni_avx_keygen(ctx, key, keylen);