Skip to content

Commit

Permalink
chore: update CommandBuilder.sol: No need to initialize some 'uint' t…
Browse files Browse the repository at this point in the history
…o 0 (#19)
  • Loading branch information
0xScratch authored Oct 26, 2023
1 parent ff2575b commit 31e5751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/CommandBuilder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ library CommandBuilder {
mstore(0x40, add(ret, and(add(add(bytesWritten, 0x20), 0x1f), not(0x1f))))
mstore(add(ret, 32), selector)
}
uint256 count = 0;
uint256 count;
bytes memory stateData; // Optionally encode the current state if the call requires it
for (uint256 i; i < 32;) {
idx = uint8(indices[i]);
Expand Down

0 comments on commit 31e5751

Please sign in to comment.