Fixed compilation error in release configuration (#1757)
Signed-off-by: moraaar <moraaar@amazon.com>
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user