From 9f227e8b496f226ced053d6bef81e604d6878091 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 25 Jan 2023 04:18:28 +0000 Subject: openrc-run: drop strlen dead store --- src/openrc-run/openrc-run.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/openrc-run/openrc-run.c b/src/openrc-run/openrc-run.c index 6f5158a6..ab19eaad 100644 --- a/src/openrc-run/openrc-run.c +++ b/src/openrc-run/openrc-run.c @@ -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); -- cgit v1.2.3