summaryrefslogtreecommitdiffstats
path: root/generator/shibokengenerator.cpp
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>2010-11-10 13:38:31 -0200
commit4a21523d46b4aa09d2435e351b0dfb1c95dcee05 (patch)
tree586d95e6509ca5abbba99811919462d3bc8ab113 /generator/shibokengenerator.cpp
parentd8e2d87f8962175f90fea01026e0a6099ad7f93c (diff)
downloadshiboken-4a21523d46b4aa09d2435e351b0dfb1c95dcee05.tar.gz
shiboken-4a21523d46b4aa09d2435e351b0dfb1c95dcee05.tar.xz
shiboken-4a21523d46b4aa09d2435e351b0dfb1c95dcee05.zip
Remove unused variables.
Diffstat (limited to 'generator/shibokengenerator.cpp')
-rw-r--r--generator/shibokengenerator.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/generator/shibokengenerator.cpp b/generator/shibokengenerator.cpp
index ee4ccd33..67f5fca8 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();