From: Christian Brauner Date: Sun, 10 Sep 2017 06:00:50 +0000 (+0200) Subject: confile: parse_idmaps() remove dead assignments X-Git-Tag: lxc-2.0.9~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27a516a843fb93243256314cc66e4436917ff7e6;p=thirdparty%2Flxc.git confile: parse_idmaps() remove dead assignments Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile_utils.c b/src/lxc/confile_utils.c index dd3548e5b..a7d761e2e 100644 --- a/src/lxc/confile_utils.c +++ b/src/lxc/confile_utils.c @@ -90,8 +90,6 @@ int parse_idmaps(const char *idmap, char *type, unsigned long *nsid, /* Move beyond \0. */ slide++; - /* align */ - window = slide; /* Validate that only whitespace follows. */ slide += strspn(slide, " \t\r"); /* If there was only one whitespace then we whiped it with our \0 above. @@ -116,8 +114,6 @@ int parse_idmaps(const char *idmap, char *type, unsigned long *nsid, /* Move beyond \0. */ slide++; - /* align */ - window = slide; /* Validate that only whitespace follows. */ slide += strspn(slide, " \t\r"); /* If there was only one whitespace then we whiped it with our \0 above.