Unverified Commit 27a516a8 by Christian Brauner Committed by Stéphane Graber

confile: parse_idmaps() remove dead assignments

parent c04e54bd
...@@ -90,8 +90,6 @@ int parse_idmaps(const char *idmap, char *type, unsigned long *nsid, ...@@ -90,8 +90,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.
...@@ -116,8 +114,6 @@ int parse_idmaps(const char *idmap, char *type, unsigned long *nsid, ...@@ -116,8 +114,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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment