Fix gcc warnings.

This commit is contained in:
srcejon 2024-03-03 13:57:10 +00:00
parent 5919f234c0
commit ae64f2c652
2 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,8 @@ void KiwiSDRList::handleReply(QNetworkReply* reply)
void KiwiSDRList::handleHTML(const QString& url, const QByteArray& bytes)
{
(void) url;
QList<KiwiSDR> sdrs;
QString html(bytes);
QRegularExpression div("<div class='cl-info'>(.*?)<\\/div>", QRegularExpression::DotMatchesEverythingOption);

View File

@ -93,6 +93,8 @@ void SpyServerList::handleReply(QNetworkReply* reply)
void SpyServerList::handleJSON(const QString& url, const QByteArray& bytes)
{
(void) url;
QList<SpyServer> sdrs;
QJsonDocument document = QJsonDocument::fromJson(bytes);