From 995ba6f036c333422df3dc20dfe616380fee1dd0 Mon Sep 17 00:00:00 2001 From: Stephan Binner Date: Tue, 4 Apr 2017 11:22:30 +0200 Subject: Fix warning for -no-feature-temporaryfile Change-Id: Iaa4138610834f87b2a9379e707025d2e8a0fd59c Reviewed-by: Simon Hausmann Reviewed-by: Tasuku Suzuki --- src/qml/compiler/qv4compileddata.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qml/compiler/qv4compileddata.cpp b/src/qml/compiler/qv4compileddata.cpp index f1f0ec282c..77d61032f7 100644 --- a/src/qml/compiler/qv4compileddata.cpp +++ b/src/qml/compiler/qv4compileddata.cpp @@ -454,6 +454,7 @@ bool CompilationUnit::saveToDisk(const QUrl &unitUrl, QString *errorString) return true; #else + Q_UNUSED(outputFileName) *errorString = QStringLiteral("features.temporaryfile is disabled."); return false; #endif // QT_CONFIG(temporaryfile) -- cgit v1.2.3