chiark / gitweb /
nspawn: remove unused variable
authorDave Reisner <dreisner@archlinux.org>
Fri, 14 Mar 2014 01:56:07 +0000 (21:56 -0400)
committerDave Reisner <dreisner@archlinux.org>
Fri, 14 Mar 2014 01:56:07 +0000 (21:56 -0400)
src/nspawn/nspawn.c

index 7c3d7b89beb03890db7fc73a77f66f7206514c05..dd7cfc409536c538c0c90730683215cd22f67cc7 100644 (file)
@@ -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;