aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-02 21:48:58 +0800
committerchriseth <chris@ethereum.org>2017-05-02 21:48:58 +0800
commit96870686a9aba46a14d659c8c1cd107a9071857f (patch)
treeef970811af1dc816d7003c2f78500f8cc482260f /libsolidity
parente544698ad3a2101e3d910d0761571d4fa20144e8 (diff)
downloaddexon-solidity-96870686a9aba46a14d659c8c1cd107a9071857f.tar.gz
dexon-solidity-96870686a9aba46a14d659c8c1cd107a9071857f.tar.zst
dexon-solidity-96870686a9aba46a14d659c8c1cd107a9071857f.zip
Style and stricter tests.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/analysis/SyntaxChecker.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libsolidity/analysis/SyntaxChecker.cpp b/libsolidity/analysis/SyntaxChecker.cpp
index 308733df..94e82a87 100644
--- a/libsolidity/analysis/SyntaxChecker.cpp
+++ b/libsolidity/analysis/SyntaxChecker.cpp
@@ -161,9 +161,7 @@ bool SyntaxChecker::visit(Break const& _breakStatement)
bool SyntaxChecker::visit(UnaryOperation const& _operation)
{
if (_operation.getOperator() == Token::Add)
- {
- warning(_operation.location(), "Use of unary + is deprecated");
- }
+ warning(_operation.location(), "Use of unary + is deprecated.");
return true;
}