aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/coreapi/qsgmaterial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgmaterial.cpp')
-rw-r--r--src/quick/scenegraph/coreapi/qsgmaterial.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgmaterial.cpp b/src/quick/scenegraph/coreapi/qsgmaterial.cpp
index 713469f94a..fab3287087 100644
--- a/src/quick/scenegraph/coreapi/qsgmaterial.cpp
+++ b/src/quick/scenegraph/coreapi/qsgmaterial.cpp
@@ -166,6 +166,7 @@ static bool qsg_leak_check = !qgetenv("QML_LEAK_CHECK").isEmpty();
*/
QSGMaterialShader::QSGMaterialShader()
{
+ Q_UNUSED(m_reserved);
}
/*!
@@ -544,6 +545,7 @@ static void qt_print_material_count()
QSGMaterial::QSGMaterial()
: m_flags(0)
{
+ Q_UNUSED(m_reserved);
#ifndef QT_NO_DEBUG
if (qsg_leak_check) {
++qt_material_count;