aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-07-02 19:14:58 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-07-02 19:14:58 +0800
commit9aefe2f1184084630c2287d3e2f7372a3c962ced (patch)
tree32dbf508bb10fff0499fedb40dde7bf1522674dc /libsolidity/analysis
parent9a71b69f4009d6e0ccac715648b06994ef321d3f (diff)
downloaddexon-solidity-9aefe2f1184084630c2287d3e2f7372a3c962ced.tar.gz
dexon-solidity-9aefe2f1184084630c2287d3e2f7372a3c962ced.tar.zst
dexon-solidity-9aefe2f1184084630c2287d3e2f7372a3c962ced.zip
Remove trailing whitespace in missing visibility warning.
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r--libsolidity/analysis/StaticAnalyzer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/analysis/StaticAnalyzer.cpp b/libsolidity/analysis/StaticAnalyzer.cpp
index dad4cc7f..c7440565 100644
--- a/libsolidity/analysis/StaticAnalyzer.cpp
+++ b/libsolidity/analysis/StaticAnalyzer.cpp
@@ -58,8 +58,8 @@ bool StaticAnalyzer::visit(FunctionDefinition const& _function)
_function.location(),
"No visibility specified. Defaulting to \"" +
Declaration::visibilityToString(_function.visibility()) +
- "\". " +
- (isInterface ? "In interfaces it defaults to external." : "")
+ "\"." +
+ (isInterface ? " In interfaces it defaults to external." : "")
);
if (_function.isImplemented())
m_currentFunction = &_function;