aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generator/shibokengenerator.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/generator/shibokengenerator.cpp b/generator/shibokengenerator.cpp
index ee4ccd338..67f5fca8a 100644
--- a/generator/shibokengenerator.cpp
+++ b/generator/shibokengenerator.cpp
@@ -516,7 +516,6 @@ void ShibokenGenerator::writeToPythonConversion(QTextStream& s, const AbstractMe
return;
// exclude const on Objects
- const TypeEntry* typeEntry = type->typeEntry();
Options flags = getConverterOptions(type);
writeBaseConversion(s, type, context, flags);
s << "toPython";
@@ -793,7 +792,6 @@ QString ShibokenGenerator::cpythonCheckFunction(const AbstractMetaType* metaType
QString str;
QTextStream s(&str);
// exclude const on Objects
- const TypeEntry* typeEntry = metaType->typeEntry();
Options flags = getConverterOptions(metaType);
writeBaseConversion(s, metaType, 0, flags);
s.flush();