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.1.1~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46006ae3560090d16e822237267ccb587bb46cf8;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.