aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.cpp
diff options
context:
space:
mode:
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);