Style and stricter tests.

This commit is contained in:
chriseth
2017-05-02 15:48:58 +02:00
parent e544698ad3
commit 96870686a9
2 changed files with 10 additions and 4 deletions
+1 -3
View File
@@ -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;
}