summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-03-21 14:22:46 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-11 21:11:33 +0200
commit6a11dd166985d7804b6861662193093aa84cdd0c (patch)
treeb385b4ce288ac2ecf4061776283714b261818231 /src/tools/qdoc
parente9760f1559361c39f269fb89f1ebd01f6ee8378d (diff)
Remove unused private members [tools]
Apple Clang 4.2 caught private members that aren't used in a class with no friends. Since this code is in a tool, there's no binary compatibility requirement. databaseinfo.h:71:13: error: private field 'driver' is not used [-Werror,-Wunused-private-field] quoter.h:86:10: error: private field 'validRegExp' is not used [-Werror,-Wunused-private-field] qmlvisitor.h:123:11: error: private field 'tree' is not used [-Werror,-Wunused-private-field] Change-Id: Iba9995f28ddef983c9ffc1dc551f042539252704 Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/qdoc')
-rw-r--r--src/tools/qdoc/qmlvisitor.h1
-rw-r--r--src/tools/qdoc/quoter.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/tools/qdoc/qmlvisitor.h b/src/tools/qdoc/qmlvisitor.h
index cc00ccbe6c..2c3ff341d6 100644
--- a/src/tools/qdoc/qmlvisitor.h
+++ b/src/tools/qdoc/qmlvisitor.h
@@ -120,7 +120,6 @@ private:
QSet<QString> commands;
QSet<QString> topics;
QSet<quint32> usedComments;
- Tree *tree;
InnerNode *current;
};
diff --git a/src/tools/qdoc/quoter.h b/src/tools/qdoc/quoter.h
index 223fdd96b3..622e225421 100644
--- a/src/tools/qdoc/quoter.h
+++ b/src/tools/qdoc/quoter.h
@@ -83,7 +83,6 @@ private:
int unindent = 0);
bool silent;
- bool validRegExp;
QStringList plainLines;
QStringList markedLines;
Location codeLocation;