diff --git a/src/main/java/com/reandroid/dex/key/ProtoKey.java b/src/main/java/com/reandroid/dex/key/ProtoKey.java index 72a554fb6..129ee6807 100644 --- a/src/main/java/com/reandroid/dex/key/ProtoKey.java +++ b/src/main/java/com/reandroid/dex/key/ProtoKey.java @@ -4,7 +4,6 @@ import com.reandroid.dex.smali.SmaliWriter; import com.reandroid.utils.CompareUtil; import com.reandroid.utils.ObjectsUtil; -import com.reandroid.utils.StringsUtil; import com.reandroid.utils.collection.*; import java.io.IOException; @@ -44,14 +43,8 @@ public int getParameterIndex(int register) { } TypeKey typeKey = getParameter(i); registerCount ++; - if(registerCount == register){ - return i; - } if(typeKey.isWide()) { registerCount ++; - if(registerCount == register){ - return i; - } } } return -1;