From 40f70466969b340ee5e277c98a4b27a9117b795e Mon Sep 17 00:00:00 2001 From: philhofer Date: Sun, 23 Dec 2018 13:28:25 -0800 Subject: src/rc/openrc-run.c: remove duplicate statement The statement ll = strlen(applet); appears twice in the same block without any intervening assignment to the variables 'll' or 'applet' Remove the second (duplicate) statement. --- src/rc/openrc-run.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rc/openrc-run.c b/src/rc/openrc-run.c index 43889f2d..229f5ed3 100644 --- a/src/rc/openrc-run.c +++ b/src/rc/openrc-run.c @@ -1223,7 +1223,6 @@ int main(int argc, char **argv) /* Make our prefix string */ prefix = xmalloc(sizeof(char) * l + 1); - ll = strlen(applet); memcpy(prefix, applet, ll); memset(prefix + ll, ' ', l - ll); memset(prefix + l, 0, 1); -- cgit v1.2.3