libgcrypt: Avoid -Wempty-body in rijndael do_setkey()
Avoid a warning
lib/libgcrypt-grub/cipher/rijndael.c:229:9:
warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
229 | ;
| ^
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
0cb7a44916
commit
c94d05ee05
@ -228,7 +228,9 @@ do_setkey (RIJNDAEL_context *ctx, const byte *key, const unsigned keylen)
|
||||
KC = 4;
|
||||
|
||||
if (0)
|
||||
;
|
||||
{
|
||||
;
|
||||
}
|
||||
#ifdef USE_PADLOCK
|
||||
else if ((_gcry_get_hw_features () & HWF_PADLOCK_AES))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user