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:
parent
894995176e
commit
40f7046696
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user