aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/core/environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/environment.c b/src/lib/core/environment.c
index e47bb4f..cc72b8d 100644
--- a/src/lib/core/environment.c
+++ b/src/lib/core/environment.c
@@ -145,7 +145,7 @@ void runtime_export(RuntimeEnv *env, char **keys) {
RuntimeEnv *runtime_copy(char **env) {
RuntimeEnv *rt = NULL;
size_t env_count;
- for (env_count = 0; env[env_count] != NULL; env_count++);
+ for (env_count = 0; env[env_count] != NULL; env_count++) {};
rt = strlist_init();
for (size_t i = 0; i < env_count; i++) {