Skip to content

Commit

Permalink
Declare a missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kcat committed Oct 2, 2023
1 parent cd09bd9 commit 32b89db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alc/backends/wasapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ struct DeviceHelper final : private IMMNotificationClient
auto deviceCount = DeviceInfoCollection.Size();
for(unsigned int i{0};i < deviceCount;++i)
{
deviceInfo = DeviceInfoCollection.GetAt(i);
auto deviceInfo = DeviceInfoCollection.GetAt(i);
if(deviceInfo)
std::ignore = AddDevice(deviceInfo, deviceInfo.Id().data(), list);
}
Expand Down

0 comments on commit 32b89db

Please sign in to comment.