Skip to content

Commit ff0e85d

Browse files
committed
Substituted the letter 'z' with 'x' in pre-declaration
1 parent e3dcf1e commit ff0e85d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slither/detectors/variables/predeclaration_usage_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class PredeclarationUsageLocal(AbstractDetector):
3636
```solidity
3737
contract C {
3838
function f(uint z) public returns (uint) {
39-
uint y = x + 9 + z; // 'z' is used pre-declaration
39+
uint y = x + 9 + z; // 'x' is used pre-declaration
4040
uint x = 7;
4141
4242
if (z % 2 == 0) {

0 commit comments

Comments
 (0)