2
0
Эх сурвалжийг харах

Fixes "Unused Variable" warnings for 25.05.1

This is placed on commit 5456706271c3eb1a80413df2c3c985dc9c7b9011
Because its the last known working commit for 25.05.1

Signed-off-by: Nicholas Lawson <[email protected]>
Nicholas Lawson 1 сар өмнө
parent
commit
bc3f4b34cc

+ 1 - 1
Gem/Code/Source/ExposureExampleComponent.cpp

@@ -146,7 +146,7 @@ namespace AtomSampleViewer
         m_pointLight = lightHandle;
     }
 
-    void ExposureExampleComponent::OnModelReady(AZ::Data::Instance<AZ::RPI::Model> model)
+    void ExposureExampleComponent::OnModelReady([[maybe_unused]] AZ::Data::Instance<AZ::RPI::Model> model)
     {
         m_sponzaAssetLoaded = true;
 

+ 1 - 1
Gem/Code/Source/SsaoExampleComponent.cpp

@@ -88,7 +88,7 @@ namespace AtomSampleViewer
 
     // --- World Model ---
 
-    void SsaoExampleComponent::OnModelReady(AZ::Data::Instance<AZ::RPI::Model> model)
+    void SsaoExampleComponent::OnModelReady([[maybe_unused]] AZ::Data::Instance<AZ::RPI::Model> model)
     {
         m_worldModelAssetLoaded = true;
     }