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 7c3d7b8..dd7cfc4 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;