mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Warn about unreachable code.
This commit is contained in:
@@ -6,6 +6,8 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (89-92): Unreachable code.
|
||||
// Warning: (130-138): Unreachable code.
|
||||
// Warning: (33-42): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning: (108-117): Unused local variable.
|
||||
// Warning: (20-155): Function state mutability can be restricted to pure
|
||||
|
||||
Reference in New Issue
Block a user