]> err.no Git - systemd/commit
strv: Fix gcc unitialized variable warning
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 26 Apr 2011 19:23:56 +0000 (21:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Apr 2011 19:24:31 +0000 (21:24 +0200)
commitaa4355f295c76704baec08509e80fcb827c023da
treea8bbfc24cf00da63780d469bc71275349817af34
parent016e9849e03c1375a09c11c54ad06a61f6a24473
strv: Fix gcc unitialized variable warning

Since strv_* functions handle null arguments, this warning is actually
valid.

src/strv.c: In function ‘strv_copy’:
src/strv.c:68:21: warning: ‘k’ may be used uninitialized in this function [-Wuninitialized]
src/strv.c