From 63921a94bcc8c0ea135e0b0058291e6185cd5871 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 13 Jan 2023 02:17:19 -0800 Subject: Avoid a dead store --- alc/alc.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'alc') diff --git a/alc/alc.cpp b/alc/alc.cpp index 654f3fb2..a7c36d5c 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -1666,7 +1666,6 @@ ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) const double scale{static_cast(*optsrate) / DEFAULT_OUTPUT_RATE}; period_size = static_cast(period_size*scale + 0.5); - buffer_size = static_cast(buffer_size*scale + 0.5); } if(auto persizeopt = device->configValue(nullptr, "period_size")) -- cgit v1.2.3