trying to avoid win_build problems

This commit is contained in:
Liana Husikyan 2015-02-09 11:09:03 +01:00
parent 516e46ea6b
commit 75a5c20f54

View File

@ -284,7 +284,7 @@ ASTPointer<VariableDeclaration> Parser::parseVariableDeclaration(VarDeclParserOp
if (_options.allowEmptyName && m_scanner->getCurrentToken() != Token::IDENTIFIER)
{
identifier = make_shared<ASTString>("");
solAssert(!!type, "");
solAssert(type != nullptr, "");
nodeFactory.setEndPositionFromNode(type);
}
else