mirror of
git://github.com/lxc/lxc
synced 2025-09-01 17:09:30 +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. */
|
/* Move beyond \0. */
|
||||||
slide++;
|
slide++;
|
||||||
/* align */
|
|
||||||
window = slide;
|
|
||||||
/* Validate that only whitespace follows. */
|
/* Validate that only whitespace follows. */
|
||||||
slide += strspn(slide, " \t\r");
|
slide += strspn(slide, " \t\r");
|
||||||
/* If there was only one whitespace then we whiped it with our \0 above.
|
/* 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. */
|
/* Move beyond \0. */
|
||||||
slide++;
|
slide++;
|
||||||
/* align */
|
|
||||||
window = slide;
|
|
||||||
/* Validate that only whitespace follows. */
|
/* Validate that only whitespace follows. */
|
||||||
slide += strspn(slide, " \t\r");
|
slide += strspn(slide, " \t\r");
|
||||||
/* If there was only one whitespace then we whiped it with our \0 above.
|
/* If there was only one whitespace then we whiped it with our \0 above.
|
||||||
|
Reference in New Issue
Block a user