Fix various warnings about unused variables and functions

Change-Id: I430b87ab0afa8bf32115d44e8acb94271988d229
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2021-01-25 18:00:52 +01:00
parent 11d1b8bb4c
commit 7a6aa75032
3 changed files with 14 additions and 0 deletions

View File

@@ -123,6 +123,8 @@ PreprocessedData preprocess(FileApiData &data,
const FilePath &buildDirectory,
QString &errorMessage)
{
Q_UNUSED(errorMessage)
PreprocessedData result;
result.cache = std::move(data.cache); // Make sure this is available, even when nothing else is