commit 66fe42485932b876ae5a34aabf40bd5fbce84d92 branch master Author: Sven Brauch Date: Sat Dec 18 12:20:15 2010 +0100 Fix build error diff --git a/duchain/declarationbuilder.cpp b/duchain/declarationbuilder.cpp index 4044f21..c2ce2e0 100644 --- a/duchain/declarationbuilder.cpp +++ b/duchain/declarationbuilder.cpp @@ -169,12 +169,13 @@ template T* DeclarationBuilder::visitVariableDeclaration(Identifier* dec->setType(unsure); } } - }else{ + } else { qDebug() << "Existing declaration with no type from last declaration."; dec->setType(lastType()); } - }else{ + } else { qDebug() << "Existing declaration with no type."; + } } T* result = dynamic_cast(dec);