Skip to content

Commit 86fa19c

Browse files
authored
Merge pull request #711 from nick-l-o3de/Fix_unused_variables_compiler_erorr_25.05.1
Fix unused variables compiler errors for 25.05.1
2 parents 42acad1 + bc3f4b3 commit 86fa19c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gem/Code/Source/ExposureExampleComponent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ namespace AtomSampleViewer
146146
m_pointLight = lightHandle;
147147
}
148148

149-
void ExposureExampleComponent::OnModelReady(AZ::Data::Instance<AZ::RPI::Model> model)
149+
void ExposureExampleComponent::OnModelReady([[maybe_unused]] AZ::Data::Instance<AZ::RPI::Model> model)
150150
{
151151
m_sponzaAssetLoaded = true;
152152

Gem/Code/Source/SsaoExampleComponent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ namespace AtomSampleViewer
8888

8989
// --- World Model ---
9090

91-
void SsaoExampleComponent::OnModelReady(AZ::Data::Instance<AZ::RPI::Model> model)
91+
void SsaoExampleComponent::OnModelReady([[maybe_unused]] AZ::Data::Instance<AZ::RPI::Model> model)
9292
{
9393
m_worldModelAssetLoaded = true;
9494
}

0 commit comments

Comments
 (0)