Skip to content

Commit 9f227e8

Browse files
thesamesamvapier
authored andcommitted
openrc-run: drop strlen dead store
1 parent 3bb5450 commit 9f227e8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/openrc-run/openrc-run.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,6 @@ int main(int argc, char **argv)
11631163
dir = save;
11641164
} else
11651165
file = basename_c(argv[1]);
1166-
ll = strlen(dir) + strlen(file) + 2;
11671166
xasprintf(&service, "%s/%s", dir, file);
11681167
if (stat(service, &stbuf) != 0) {
11691168
free(service);

0 commit comments

Comments
 (0)