Fix unused warnings release (#3677)
* Release build fix for Windows * Release build fix for Android * Release build fix for Windows * Release build fix for Android * Release build fix for Linux * Release build fix for Mac * Release build fix for iOS Signed-off-by: Steve Pham <spham@amazon.com>
This commit is contained in:
@@ -254,7 +254,7 @@ namespace AZ
|
||||
poolAssetCreator.SetPoolDescriptor(AZStd::move(imagePoolDescriptor));
|
||||
poolAssetCreator.SetControllerAsset(m_defaultStreamingImageControllerAsset);
|
||||
poolAssetCreator.SetPoolName(systemStreamingPoolDescriptor.m_name);
|
||||
const bool created = poolAssetCreator.End(poolAsset);
|
||||
[[maybe_unused]] const bool created = poolAssetCreator.End(poolAsset);
|
||||
AZ_Assert(created, "Failed to build streaming image pool");
|
||||
|
||||
m_systemStreamingPool = StreamingImagePool::FindOrCreate(poolAsset);
|
||||
@@ -272,7 +272,7 @@ namespace AZ
|
||||
poolAssetCreator.SetPoolDescriptor(AZStd::move(imagePoolDescriptor));
|
||||
poolAssetCreator.SetControllerAsset(m_defaultStreamingImageControllerAsset);
|
||||
poolAssetCreator.SetPoolName(assetStreamingPoolDescriptor.m_name);
|
||||
const bool created = poolAssetCreator.End(poolAsset);
|
||||
[[maybe_unused]] const bool created = poolAssetCreator.End(poolAsset);
|
||||
AZ_Assert(created, "Failed to build streaming image pool for assets");
|
||||
|
||||
m_assetStreamingPool = StreamingImagePool::FindOrCreate(poolAsset);
|
||||
@@ -292,7 +292,7 @@ namespace AZ
|
||||
poolAssetCreator.Begin(systemAttachmentPoolDescriptor.m_assetId);
|
||||
poolAssetCreator.SetPoolDescriptor(AZStd::move(imagePoolDescriptor));
|
||||
poolAssetCreator.SetPoolName(systemAttachmentPoolDescriptor.m_name);
|
||||
const bool created = poolAssetCreator.End(poolAsset);
|
||||
[[maybe_unused]] const bool created = poolAssetCreator.End(poolAsset);
|
||||
AZ_Assert(created, "Failed to build attachment image pool");
|
||||
|
||||
m_systemAttachmentPool = AttachmentImagePool::FindOrCreate(poolAsset);
|
||||
|
||||
Reference in New Issue
Block a user