Merge pull request #4400 from ethereum/warningWhitespace

Remove trailing whitespace in missing visibility warning.
This commit is contained in:
Erik Kundt 2018-07-02 14:04:25 +02:00 committed by GitHub
commit da60fdab37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -58,8 +58,8 @@ bool StaticAnalyzer::visit(FunctionDefinition const& _function)
_function.location(), _function.location(),
"No visibility specified. Defaulting to \"" + "No visibility specified. Defaulting to \"" +
Declaration::visibilityToString(_function.visibility()) + Declaration::visibilityToString(_function.visibility()) +
"\". " + "\"." +
(isInterface ? "In interfaces it defaults to external." : "") (isInterface ? " In interfaces it defaults to external." : "")
); );
if (_function.isImplemented()) if (_function.isImplemented())
m_currentFunction = &_function; m_currentFunction = &_function;