Merge pull request #7458 from ethereum/fixErrorMessage

Fix error message about accessing storage pointers.
This commit is contained in:
chriseth
2019-09-24 15:11:03 +02:00
committed by GitHub
18 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ void ControlFlowAnalyzer::checkUninitializedAccess(CFGNode const* _entry, CFGNod
ssl,
string("This variable is of storage pointer type and can be ") +
(variableOccurrence->kind() == VariableOccurrence::Kind::Return ? "returned" : "accessed") +
" without prior assignment."
" without prior assignment, which would lead to undefined behaviour."
);
}
}