diff options
author | Andy Nichols <andy.nichols@digia.com> | 2014-09-09 14:43:29 +0200 |
---|---|---|
committer | Andy Nichols <andy.nichols@digia.com> | 2014-09-11 14:22:59 +0300 |
commit | 60c81befa22108a96bbf505c40f4a2af8ed843e2 (patch) | |
tree | 35cd85162c76955ce8a1c8dcaa47633645d29c66 | |
parent | 71490ac4d7c9211aff8e0c1a5af8597271de0117 (diff) |
Fix build warnings
Change-Id: I842c8cd117f1e25cc7848618e86d2aff2e5e522f
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
3 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/context.cpp b/src/plugins/scenegraph/softwarecontext/context.cpp index 33dc7e87e4..345728f833 100644 --- a/src/plugins/scenegraph/softwarecontext/context.cpp +++ b/src/plugins/scenegraph/softwarecontext/context.cpp @@ -57,6 +57,8 @@ Renderer::Renderer(QSGRenderContext *context) void Renderer::renderScene(GLuint fboId) { + Q_UNUSED(fboId) + class B : public QSGBindable { public: diff --git a/src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp b/src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp index 879c30eb4f..153edce3be 100644 --- a/src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp +++ b/src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp @@ -124,9 +124,8 @@ bool RenderingVisitor::visit(QSGPainterNode *node) return true; } -void RenderingVisitor::endVisit(QSGPainterNode *node) +void RenderingVisitor::endVisit(QSGPainterNode *) { - } bool RenderingVisitor::visit(QSGRectangleNode *node) diff --git a/src/plugins/scenegraph/softwarecontext/renderingvisitor.h b/src/plugins/scenegraph/softwarecontext/renderingvisitor.h index d65faa4293..e405fe844b 100644 --- a/src/plugins/scenegraph/softwarecontext/renderingvisitor.h +++ b/src/plugins/scenegraph/softwarecontext/renderingvisitor.h @@ -38,7 +38,7 @@ public: virtual bool visit(QSGImageNode *node); virtual void endVisit(QSGImageNode *node); virtual bool visit(QSGPainterNode *node); - virtual void endVisit(QSGPainterNode *node); + virtual void endVisit(QSGPainterNode *); virtual bool visit(QSGRectangleNode *node); virtual void endVisit(QSGRectangleNode *node); virtual bool visit(QSGGlyphNode *node); |