summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index cdfc9e0158..6cbc7ce477 100644
--- a/src/util.c
+++ b/src/util.c
@@ -2782,7 +2782,7 @@ fail:
char **replace_env_argv(char **argv, char **env) {
char **r, **i;
- unsigned k;
+ unsigned k = 0;
if (!(r = new(char*, strv_length(argv)+1)))
return NULL;