Skip to content

Commit fd88251

Browse files
committed
[ CID 20330 ] Pointless self-assignment.
1 parent f849a82 commit fd88251

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

libscript/src/script-builder.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,6 @@ static void __add_script_type(MCScriptModuleBuilderRef self, MCScriptType *p_typ
469469
return;
470470

471471
self -> module . types[r_index] = p_type;
472-
r_index = r_index;
473472
}
474473

475474
void MCScriptAddDefinedTypeToModule(MCScriptModuleBuilderRef self, uindex_t p_index, uindex_t& r_type)

0 commit comments

Comments
 (0)