aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-02-06 13:18:11 +0100
committerLiang Qi <liang.qi@qt.io>2018-02-07 10:27:16 +0000
commit731b9e921a5ba4d768346b73e5d1849c1e582e95 (patch)
treebe82a8e6bc2f2c7627aa13cf1e8fe5c7b6ee811f /src/qml/compiler
parent9fbb5d485f429da022c58948937105dd9206130e (diff)
Fix clang 5 warnings
Fixes clang develop-builds Change-Id: If262d7038fc36bcec281be4c218b3cf3d4ae4deb Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler')
-rw-r--r--src/qml/compiler/qv4bytecodegenerator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4bytecodegenerator.cpp b/src/qml/compiler/qv4bytecodegenerator.cpp
index 96d6f78eae..0978e23b17 100644
--- a/src/qml/compiler/qv4bytecodegenerator.cpp
+++ b/src/qml/compiler/qv4bytecodegenerator.cpp
@@ -198,6 +198,8 @@ QT_WARNING_DISABLE_GCC("-Wmaybe-uninitialized") // broken gcc warns about Instru
}
QT_WARNING_POP
}
+#else
+ Q_UNUSED(debugMode);
#endif
const int pos = instructions.size();