From: Christian Brauner Date: Sun, 10 Sep 2017 06:00:50 +0000 (+0200) Subject: confile: parse_idmaps() remove dead assignments X-Git-Tag: lxc-3.0.0.beta1~246^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab9e3ff33d39e6eb62a05242b06729d5a4ba1fa1;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 d43d516db..e49178809 100644 --- a/src/lxc/confile_utils.c +++ b/src/lxc/confile_utils.c @@ -92,8 +92,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. @@ -118,8 +116,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.