Skip to content

Commit

Permalink
Fix shadowing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Jun 26, 2024
1 parent 6b54b98 commit eaca952
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions suite/cstest/src/test_run.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eaca952

Please sign in to comment.