mirror of
git://github.com/lxc/lxc
synced 2025-08-31 02:09:31 +00:00
confile: parse_idmaps() remove dead assignments
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user