aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-run/openrc-run.c
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-25 04:18:28 +0000
committerMike Frysinger <vapier@gentoo.org>2023-01-25 00:08:30 -0500
commit9f227e8b496f226ced053d6bef81e604d6878091 (patch)
tree0ec2ca9d1e467842ebfc6067c0bdb3b016daad67 /src/openrc-run/openrc-run.c
parent3bb5450320afc903ce73563db2c7341d97b68cbe (diff)
openrc-run: drop strlen dead store
Diffstat (limited to 'src/openrc-run/openrc-run.c')
-rw-r--r--src/openrc-run/openrc-run.c1
1 files changed, 0 insertions, 1 deletions
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);