mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Moved comment to more logical place
This commit is contained in:
parent
e60a17379e
commit
50eb3b8f8f
@ -187,8 +187,8 @@ In addition to this, if a variable is declared, it will be initialized at the be
|
||||
As a result, the following code is legal, despite being poorly written.::
|
||||
|
||||
function foo() returns (uint) {
|
||||
uint bar = 5;
|
||||
// baz is implicitly initialized as 0
|
||||
uint bar = 5;
|
||||
if (true) {
|
||||
bar += baz;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user