diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-11-02 11:32:15 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-11-02 11:32:15 -0400 |
| commit | 6a59078759bdae86dacffe88ec737d1e8460761b (patch) | |
| tree | cb93c9741ba0953af38d318cf825e672df8be9c3 | |
| parent | 5e47b58e9e2697c8e62690aaf5c3ae8942d3dd1f (diff) | |
| download | stasis-6a59078759bdae86dacffe88ec737d1e8460761b.tar.gz | |
Amend counter-only loop statement
| -rw-r--r-- | src/lib/core/environment.c | 2 |
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++) { |
