summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-03-13 21:56:07 -0400
committerDave Reisner <dreisner@archlinux.org>2014-03-13 21:56:07 -0400
commit7947952edea208f004d48e978a9fc35e6ed4ab8c (patch)
tree69196d47ed578dbf43c231d0eeefb58ef7565a8b /src/nspawn/nspawn.c
parentf418f31d5042398344740f2d8ac4dc1c2583151c (diff)
nspawn: remove unused variable
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 7c3d7b89be..dd7cfc4095 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;