You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixing static analysis warnings in AudioDevice.cpp
#jira: FORT-469152 #rb: phil.popp #ROBOMERGE-OWNER: ryan.mangin #ROBOMERGE-AUTHOR: ryan.mangin #ROBOMERGE-SOURCE: CL 19791489 via CL 19791717 via CL 19791740 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697) [CL 19809551 by ryan mangin in ue5-main branch]
This commit is contained in:
@@ -4187,8 +4187,10 @@ void FAudioDevice::StopSources(TArray<FWaveInstance*>& WaveInstances, int32 Firs
|
||||
// being finished which might reset it being finished.
|
||||
for (int32 InstanceIndex = 0; InstanceIndex < FirstActiveIndex; InstanceIndex++)
|
||||
{
|
||||
FWaveInstance* WaveInstance = WaveInstances[InstanceIndex];
|
||||
WaveInstance->StopWithoutNotification();
|
||||
if (FWaveInstance* WaveInstance = WaveInstances[InstanceIndex])
|
||||
{
|
||||
WaveInstance->StopWithoutNotification();
|
||||
}
|
||||
}
|
||||
|
||||
#if ENABLE_AUDIO_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user