1
0
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:
srcejon
2024-10-08 20:55:31 +01:00
parent 56c162fd7d
commit ffdcf89f7c
3 changed files with 7 additions and 10 deletions
+3 -6
View File
@@ -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;
}