diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2024-02-01 17:43:41 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2024-02-06 14:46:29 +0200 |
commit | 6e6e1bcf519f5f268e95434d897fa1907c7cf0ab (patch) | |
tree | b1bae68ec5fe796dd143d315bddf9be24005fce3 /test | |
parent | a6db5e4dca8eec82ebdb394d579a3dd494f2ccce (diff) |
test: crypto: avoid variable name shadowing
Fixes -Wshadow compiler warnings.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/performance/odp_crypto.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c index 1ae09abab..a644da5e1 100644 --- a/test/performance/odp_crypto.c +++ b/test/performance/odp_crypto.c @@ -1241,7 +1241,7 @@ int main(int argc, char *argv[]) odp_pool_capability_t pool_capa; odp_crypto_capability_t crypto_capa; uint32_t max_seg_len; - unsigned i; + uint32_t i; /* Let helper collect its own arguments (e.g. --odph_proc) */ argc = odph_parse_options(argc, argv); @@ -1374,8 +1374,6 @@ int main(int argc, char *argv[]) run_measure_one_config(&test_run_arg); } } else { - unsigned int i; - for (i = 0; i < ODPH_ARRAY_SIZE(algs_config); i++) { test_run_arg.crypto_alg_config = algs_config + i; run_measure_one_config(&test_run_arg); |