Removed unused variable assignment in execvpe.c

This commit is contained in:
Jesse Smith 2019-07-21 20:13:56 -03:00
parent b96ddd6c3f
commit a8cd6a47ad

View file

@ -78,7 +78,6 @@ execvpe(const char *name, char *const *argv, char *const *envp)
return (-1);
}
strlcpy(cur, path, len);
path = cur;
while ((p = strsep(&cur, ":"))) {
/*
* It's a SHELL path -- double, leading and trailing colons