Fixed compilation error in release configuration (#1757)

Signed-off-by: moraaar <moraaar@amazon.com>
This commit is contained in:
Aaron Ruiz Mora
2021-07-02 13:16:10 +01:00
committed by GitHub
parent f93c2f5b60
commit 6459375b4e
2 changed files with 5 additions and 2 deletions
@@ -84,7 +84,10 @@ namespace AssetProcessor
AssetProcessorTest::TearDown();
}
void OnError([[maybe_unused]] const AZ::IO::SystemFile* file, const char* fileName, int errorCode) override
void OnError(
[[maybe_unused]] const AZ::IO::SystemFile* file,
[[maybe_unused]] const char* fileName,
[[maybe_unused]] int errorCode) override
{
AZ_Error("LegacyTestAdapter", false, "File error detected with %s with code %d", fileName, errorCode);
}
@@ -64,7 +64,7 @@ namespace O3DE::ProjectManager
return logFilePath.filePath(ProjectBuildErrorLogName);
}
void ProjectBuilderWorker::QStringToAZTracePrint(const QString& error)
void ProjectBuilderWorker::QStringToAZTracePrint([[maybe_unused]] const QString& error)
{
AZ_TracePrintf("Project Manager", error.toStdString().c_str());
}