test/crypto: fix minsize build
Error occurs when configuring meson with --buildtype=minsize with GCC 11.1.0: app/test/test_cryptodev_blockcipher.c:1133:45: error: ‘blk_tcs’ may be used uninitialized in this function [-Werror=maybe-uninitialized] | const struct blockcipher_test_case *blk_tcs; | ^~~~~~~ Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
This commit is contained in:
parent
5dd12566f1
commit
9c8c806487
@ -1183,7 +1183,7 @@ build_blockcipher_test_suite(enum blockcipher_test_type test_type)
|
||||
ts_setup = authonly_setup;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ts = calloc(1, sizeof(struct unit_test_suite) +
|
||||
|
Loading…
Reference in New Issue
Block a user