Skip to content

Commit 8e595db

Browse files
authored
Merge pull request #1225 from matejak/cov-78-82
Fixed missing var declaration.
2 parents 4c41cd9 + e70933c commit 8e595db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SCE/sce_engine.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ static void _pipe_try_read_into_string(int fd, struct oscap_string *string, bool
348348

349349

350350
static void free_env_values(char **env_values, size_t index_of_first_env_value_not_compiled_in, size_t real_env_values_count) {
351-
for (i = index_of_first_env_value_not_compiled_in; i < real_env_values_count; i++) {
351+
for (size_t i = index_of_first_env_value_not_compiled_in; i < real_env_values_count; i++) {
352352
free(env_values[i]);
353353
}
354354
free(env_values);

0 commit comments

Comments
 (0)