diff --git a/asm/src/main/java/dev/openrs2/asm/MethodNodeUtils.kt b/asm/src/main/java/dev/openrs2/asm/MethodNodeUtils.kt index b02922b85a..f690d80c70 100644 --- a/asm/src/main/java/dev/openrs2/asm/MethodNodeUtils.kt +++ b/asm/src/main/java/dev/openrs2/asm/MethodNodeUtils.kt @@ -9,7 +9,6 @@ import org.objectweb.asm.tree.MethodNode import org.objectweb.asm.tree.VarInsnNode import org.objectweb.asm.tree.analysis.Analyzer import org.objectweb.asm.tree.analysis.BasicInterpreter -import org.objectweb.asm.tree.analysis.BasicValue private fun localIndex(access: Int, argTypes: Array, argIndex: Int): Int { var localIndex = 0 @@ -106,7 +105,7 @@ fun MethodNode.removeDeadCode(owner: String) { do { changed = false - val analyzer = Analyzer(BasicInterpreter()) + val analyzer = Analyzer(BasicInterpreter()) val frames = analyzer.analyze(owner, this) val deadLabels = mutableSetOf()