Android release fixes (#3788)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -250,7 +250,7 @@ namespace InAppPurchases
|
||||
document.Parse(fileBuffer.data());
|
||||
if (document.HasParseError())
|
||||
{
|
||||
const char* errorStr = rapidjson::GetParseError_En(document.GetParseError());
|
||||
[[maybe_unused]] const char* errorStr = rapidjson::GetParseError_En(document.GetParseError());
|
||||
AZ_TracePrintf("LumberyardInAppBilling", "Failed to parse product_ids.json: %s\n", errorStr);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace Audio
|
||||
AZ::IO::FileIOStream fileStream(filePath.c_str(), AZ::IO::OpenMode::ModeWrite | AZ::IO::OpenMode::ModeBinary);
|
||||
if (fileStream.IsOpen())
|
||||
{
|
||||
auto bytesWritten = fileStream.Write(m_bufferSize, m_buffer);
|
||||
[[maybe_unused]] auto bytesWritten = fileStream.Write(m_bufferSize, m_buffer);
|
||||
AZ_TracePrintf("WAVUtil", "Wrote WAV file: %s, %d bytes\n", filePath.c_str(), bytesWritten);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user