Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit a8b2d34

Browse files
committed
[[ LCB ]] Tidy up source
This patch tidies up a case of variable definition and initialization being in separate commands.
1 parent 867e881 commit a8b2d34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libscript/src/script-execute.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ MCScriptExecuteContext::InvokeForeignVarArgument(MCScriptForeignInvocation& p_in
328328
uindex_t p_arg_reg)
329329
{
330330
// Get the value in the register, this determines the type.
331-
MCValueRef t_arg_value = nil;
332-
t_arg_value = CheckedFetchRegister(p_arg_reg);
331+
MCValueRef t_arg_value =
332+
CheckedFetchRegister(p_arg_reg);
333333
if (t_arg_value == nil)
334334
{
335335
return false;

0 commit comments

Comments
 (0)