diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-08 05:23:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-08 05:23:34 +0200 |
commit | 301056b7a0e7c6b36f1277c0a776d5bb509844cf (patch) | |
tree | c452ba92d1aa98f0a3d1df132166d399def0b0da /src/util.c | |
parent | c368608323ebdad5c516d65279249c4ba965d2ec (diff) | |
download | systemd-301056b7a0e7c6b36f1277c0a776d5bb509844cf.tar.gz |
util: fix missing memory initialization
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
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; |