From 73234f9952d7a2f0e2049a56eeb6bfcd794b7a4f Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 2 Dec 2014 14:37:16 +0100 Subject: Mark parameter to QQmlDebuggingEnabler as unused if it isn't used. Change-Id: I6e843dee8e25b3aacfe3de7c584effd36efdb708 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmlengine.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qml/qml/qqmlengine.cpp') diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp index 18ae649091..e6239f0081 100644 --- a/src/qml/qml/qqmlengine.cpp +++ b/src/qml/qml/qqmlengine.cpp @@ -1443,6 +1443,8 @@ QQmlDebuggingEnabler::QQmlDebuggingEnabler(bool printWarning) qDebug("QML debugging is enabled. Only use this in a safe environment."); } QQmlEnginePrivate::qml_debugging_enabled = true; +#else + Q_UNUSED(printWarning); #endif } -- cgit v1.2.3