Skip to content

Commit

Permalink
Correct the counter
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMil committed Nov 29, 2024
1 parent 01ab992 commit a55a62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/soot/dexpler/DexBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ private void handleKnownDexArrayTypes(Body b, Jimple jimple, MultiMap<Local, Typ
Value l = ((DefinitionStmt) u).getLeftOp();
if (l instanceof Local) {
int counter = localsSingleDefinitions.getOrDefault(l, 0);
localsSingleDefinitions.put((Local) l, counter++);
localsSingleDefinitions.put((Local) l, counter + 1);
}
}
}
Expand Down

0 comments on commit a55a62b

Please sign in to comment.