Fix warnings found in qtxmlpatterns by Clang
authorThiago Macieira <thiago.macieira@intel.com>
Sat, 22 Dec 2012 07:58:50 +0000 (23:58 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 2 Jan 2013 09:57:39 +0000 (10:57 +0100)
commit8a95cb56f5ecadb450de545061e8444e9698d21f
treefc460fbf4809e36abe0c6538a973253fac1db84e
parent7b1f8df5fa8ea5346315f999097b19836d7eac19
Fix warnings found in qtxmlpatterns by Clang

schema/qxsdstatemachine_tpl_p.h:186:71: error: unused parameter 'input' [-Werror,-Wunused-parameter]
expr/qexpression.cpp:139:50: error: unused variable 'end' [-Werror,-Wunused-variable]
projection/qdocumentprojector_p.h:84:22: error: 'QPatternist::DocumentProjector::attribute' hides overloaded virtual function [-Werror,-Woverloaded-virtual]

Change-Id: I84021e4aa6bdca8dfcaa4c375845ceb24c33818b
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/xmlpatterns/expr/qexpression.cpp
src/xmlpatterns/projection/qdocumentprojector.cpp
src/xmlpatterns/projection/qdocumentprojector_p.h
src/xmlpatterns/schema/qxsdstatemachine_tpl_p.h