mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 18:58:01 +02:00
[script] Use a pre computed value rather than accessing directly
The name_exp was already set to the thing we wanted, so use that. Less confusing since other sections use it.
This commit is contained in:
parent
344afa14f5
commit
669c2dcc0a
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ static script_obj_t *script_evaluate_func (script_state_t *state,
|
|||
}
|
||||
else
|
||||
{
|
||||
func_obj = script_evaluate (state, exp->data.function_exe.name);
|
||||
func_obj = script_evaluate (state, name_exp);
|
||||
}
|
||||
|
||||
ply_list_t *parameter_expressions = exp->data.function_exe.parameters;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue