[systemd-commits] src/nspawn

Dave Reisner dreisner at kemper.freedesktop.org
Thu Mar 13 18:57:03 PDT 2014


 src/nspawn/nspawn.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 7947952edea208f004d48e978a9fc35e6ed4ab8c
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Thu Mar 13 21:56:07 2014 -0400

    nspawn: remove unused variable

diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 7c3d7b8..dd7cfc4 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -2368,8 +2368,6 @@ static int spawn_getent(const char *database, const char *key, pid_t *rpid) {
 }
 
 static int change_uid_gid(char **_home) {
-
-        _cleanup_strv_free_ char **passwd = NULL;
         char line[LINE_MAX], *w, *x, *state, *u, *g, *h;
         _cleanup_free_ uid_t *uids = NULL;
         _cleanup_free_ char *home = NULL;



More information about the systemd-commits mailing list