aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.cpp
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-05-28 10:54:45 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:04 -0300
commit2ec60aeab9c503325b39fa9a7d162ff80590bb96 (patch)
tree92ae7b367e6ccaed1791f9b7063f85180a2b54c3 /abstractmetabuilder.cpp
parentcd72613d2c371c839628a4fad03863daf8b9ed25 (diff)
Disabled GCC optimization flags by default.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'abstractmetabuilder.cpp')
-rw-r--r--abstractmetabuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp
index 12ace950f..f51024b4b 100644
--- a/abstractmetabuilder.cpp
+++ b/abstractmetabuilder.cpp
@@ -2200,7 +2200,7 @@ bool AbstractMetaBuilder::inheritTemplate(AbstractMetaClass* subclass,
possibleNames << typeName;
TypeDatabase* typeDb = TypeDatabase::instance();
- TypeEntry* t;
+ TypeEntry* t = 0;
QString templateParamName;
foreach (QString possibleName, possibleNames) {
t = typeDb->findType(possibleName);