openrc-run: drop strlen dead store
This commit is contained in:
parent
3bb5450320
commit
9f227e8b49
@ -1163,7 +1163,6 @@ int main(int argc, char **argv)
|
|||||||
dir = save;
|
dir = save;
|
||||||
} else
|
} else
|
||||||
file = basename_c(argv[1]);
|
file = basename_c(argv[1]);
|
||||||
ll = strlen(dir) + strlen(file) + 2;
|
|
||||||
xasprintf(&service, "%s/%s", dir, file);
|
xasprintf(&service, "%s/%s", dir, file);
|
||||||
if (stat(service, &stbuf) != 0) {
|
if (stat(service, &stbuf) != 0) {
|
||||||
free(service);
|
free(service);
|
||||||
|
Loading…
Reference in New Issue
Block a user