mirror of
https://github.com/slicer69/doas
synced 2024-09-06 16:35:54 +00:00
Removed unused variable assignment in execvpe.c
This commit is contained in:
parent
b96ddd6c3f
commit
a8cd6a47ad
|
@ -78,7 +78,6 @@ execvpe(const char *name, char *const *argv, char *const *envp)
|
||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
strlcpy(cur, path, len);
|
strlcpy(cur, path, len);
|
||||||
path = cur;
|
|
||||||
while ((p = strsep(&cur, ":"))) {
|
while ((p = strsep(&cur, ":"))) {
|
||||||
/*
|
/*
|
||||||
* It's a SHELL path -- double, leading and trailing colons
|
* It's a SHELL path -- double, leading and trailing colons
|
||||||
|
|
Loading…
Reference in a new issue