diff options
author | Chris Robinson <[email protected]> | 2023-10-01 23:20:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-10-01 23:20:08 -0700 |
commit | 32b89db9aee9b30ce37469a670750bfeb63e57c9 (patch) | |
tree | 19322abd7de1c11c2ec1d0be8667cbf6f1ac7b1c /alc | |
parent | cd09bd95ca655011cf1654f1cd8775f3edbcbb71 (diff) |
Declare a missing variable
Diffstat (limited to 'alc')
-rw-r--r-- | alc/backends/wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp index b6d7aaed..37151ef9 100644 --- a/alc/backends/wasapi.cpp +++ b/alc/backends/wasapi.cpp @@ -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); } |