summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-08 05:23:05 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-08 05:23:34 +0200
commit301056b7a0e7c6b36f1277c0a776d5bb509844cf (patch)
treec452ba92d1aa98f0a3d1df132166d399def0b0da /src/util.c
parentc368608323ebdad5c516d65279249c4ba965d2ec (diff)
downloadsystemd-301056b7a0e7c6b36f1277c0a776d5bb509844cf.tar.gz
util: fix missing memory initialization
Diffstat (limited to 'src/util.c')
-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;