From eaca952611c0d9d0bb3a8295f9a307cedcf0f0b0 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Wed, 26 Jun 2024 07:53:01 -0500 Subject: [PATCH] Fix shadowing warning --- suite/cstest/src/test_run.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/suite/cstest/src/test_run.c b/suite/cstest/src/test_run.c index a4529712a0..08ddf3167c 100644 --- a/suite/cstest/src/test_run.c +++ b/suite/cstest/src/test_run.c @@ -56,10 +56,10 @@ static TestCase **parse_test_cases(char **test_files, uint32_t file_count, cases, sizeof(TestCase *) * (stats->total + test_file_data->test_cases_count)); - for (size_t i = 0; i < test_file_data->test_cases_count; - ++i, stats->total++) { + for (size_t k = 0; k < test_file_data->test_cases_count; + ++k, stats->total++) { cases[stats->total] = - test_case_clone(&test_file_data->test_cases[i]); + test_case_clone(&test_file_data->test_cases[k]); assert(cases[stats->total]); } err = cyaml_free(&cyaml_config, &test_file_schema,