mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
Fix lint warnings
This commit is contained in:
@@ -2016,7 +2016,6 @@ bool DeviceOpener::open(const QString hwType, int direction, const QStringList&
|
||||
}
|
||||
|
||||
int nbSamplingDevices = DeviceEnumerator::instance()->getNbRxSamplingDevices();
|
||||
bool found = false;
|
||||
|
||||
for (int i = 0; i < nbSamplingDevices; i++)
|
||||
{
|
||||
@@ -2032,9 +2031,7 @@ bool DeviceOpener::open(const QString hwType, int direction, const QStringList&
|
||||
|
||||
return true;
|
||||
}
|
||||
if (!found)
|
||||
{
|
||||
qCritical() << "DeviceOpener::open: Failed to find device with hwType " << hwType;
|
||||
return false;
|
||||
}
|
||||
|
||||
qWarning() << "DeviceOpener::open: Failed to find device with hwType " << hwType;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user