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.
This commit is contained in:
philhofer 2018-12-23 13:28:25 -08:00 committed by Mike Frysinger
parent 894995176e
commit 40f7046696

View File

@ -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);