aboutsummaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-05 14:02:45 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:08:56 -0300
commit47f0441dfa0dc25b0632c03fe5f915489f4261af (patch)
treec2fb5af7b5a32ac4e077410834191bd5bfa5eb30 /generator
parent6334ce17e640ac93aa4de6d4ef99e16836b1ec43 (diff)
Remove unused variables.
Diffstat (limited to 'generator')
-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();