openrc-run: drop strlen dead store

This commit is contained in:
Sam James 2023-01-25 04:18:28 +00:00 committed by Mike Frysinger
parent 3bb5450320
commit 9f227e8b49

View File

@ -1163,7 +1163,6 @@ int main(int argc, char **argv)
dir = save;
} else
file = basename_c(argv[1]);
ll = strlen(dir) + strlen(file) + 2;
xasprintf(&service, "%s/%s", dir, file);
if (stat(service, &stbuf) != 0) {
free(service);