Browse Source

Fix gcc warnings.

chirpmodem-v8.0.0
srcejon 3 years ago
parent
commit
ae64f2c652
  1. 2
      sdrbase/util/kiwisdrlist.cpp
  2. 2
      sdrbase/util/spyserverlist.cpp

2
sdrbase/util/kiwisdrlist.cpp

@ -93,6 +93,8 @@ void KiwiSDRList::handleReply(QNetworkReply* reply) @@ -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);

2
sdrbase/util/spyserverlist.cpp

@ -93,6 +93,8 @@ void SpyServerList::handleReply(QNetworkReply* reply) @@ -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);

Loading…
Cancel
Save