mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjust code to review findings
This commit is contained in:
+1
-3
@@ -6,7 +6,5 @@ contract C {
|
||||
y;
|
||||
}
|
||||
}
|
||||
// ---
|
||||
|
||||
// ----
|
||||
// TypeError 3464: (137-138): This variable is of storage pointer type and can be accessed without prior assignment, which would lead to undefined behaviour.
|
||||
// TypeError 3464: (141-142): This variable is of storage pointer type and can be accessed without prior assignment, which would lead to undefined behaviour.
|
||||
|
||||
@@ -17,7 +17,6 @@ contract C {
|
||||
S storage s;
|
||||
get() + s;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// ----
|
||||
|
||||
Reference in New Issue
Block a user