From e3ec8759ed8da6795ac1b27c77c51c577b6df69a Mon Sep 17 00:00:00 2001 From: srcejon Date: Thu, 10 Oct 2024 15:57:08 +0100 Subject: [PATCH] Remove unused variable --- sdrgui/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdrgui/mainwindow.cpp b/sdrgui/mainwindow.cpp index 16f01a870..ebe0071d8 100644 --- a/sdrgui/mainwindow.cpp +++ b/sdrgui/mainwindow.cpp @@ -1401,7 +1401,6 @@ void MainWindow::sampleSinkCreate( ) { DeviceAPI *deviceAPI = deviceUISet->m_deviceAPI; - int selectedDeviceIndex = deviceIndex; DeviceEnumerator::instance()->changeTxSelection(deviceSetIndex, deviceIndex); const PluginInterface::SamplingDevice *samplingDevice = DeviceEnumerator::instance()->getTxSamplingDevice(deviceIndex); deviceAPI->setSamplingDeviceSequence(samplingDevice->sequence); @@ -1558,7 +1557,6 @@ void MainWindow::sampleMIMOCreate( ) { DeviceAPI *deviceAPI = deviceUISet->m_deviceAPI; - int selectedDeviceIndex = deviceIndex; DeviceEnumerator::instance()->changeMIMOSelection(deviceSetIndex, deviceIndex); const PluginInterface::SamplingDevice *samplingDevice = DeviceEnumerator::instance()->getMIMOSamplingDevice(deviceIndex); deviceAPI->setSamplingDeviceSequence(samplingDevice->sequence);