Browse Source

Fix linux warnings

chirpmodem-v8.0.0
Jon Beniston 5 years ago
parent
commit
bce51d09d7
  1. 2
      .appveyor.yml
  2. 1
      debian/control
  3. 2
      plugins/channelrx/demodadsb/adsbdemodgui.h
  4. 2
      plugins/feature/map/cesiuminterface.h
  5. 4
      plugins/feature/map/mapwebsocketserver.cpp
  6. 2
      sdrgui/gui/httpdownloadmanagergui.cpp

2
.appveyor.yml

@ -80,7 +80,7 @@ for: @@ -80,7 +80,7 @@ for:
sudo apt-get -y install build-essential cmake git xxd \
devscripts fakeroot debhelper libfftw3-dev qtbase5-dev libqt5opengl5-dev \
qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libqt5websockets5-dev \
libqt5quick5 qtwebengine5-dev \
libqt5quick5 qtwebengine5-dev qtbase5-private-dev \
qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick-window2 qml-module-qtquick-dialogs \
qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtgraphicaleffects \
libqt5serialport5-dev qtdeclarative5-dev qtpositioning5-dev qtlocation5-dev \

1
debian/control vendored

@ -30,6 +30,7 @@ Build-Depends: debhelper (>= 9), @@ -30,6 +30,7 @@ Build-Depends: debhelper (>= 9),
qtpositioning5-dev,
qtlocation5-dev,
qtwebengine5-dev,
qtbase5-private-dev,
libusb-1.0-0-dev,
libboost-all-dev,
libasound2-dev,

2
plugins/channelrx/demodadsb/adsbdemodgui.h

@ -691,6 +691,8 @@ public: @@ -691,6 +691,8 @@ public:
virtual bool match(const QString &aircraft, const QString &manufacturer, QString &model)
{
(void) manufacturer;
QRegularExpressionMatch match = m_aircraftRegExp.match(aircraft);
if (match.hasMatch())
{

2
plugins/feature/map/cesiuminterface.h

@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
#include "mapwebsocketserver.h"
#include "czml.h"
#include "swgmapanimation.h"
#include "SWGMapAnimation.h"
class MapItem;

4
plugins/feature/map/mapwebsocketserver.cpp

@ -51,7 +51,7 @@ void MapWebSocketServer::onNewConnection() @@ -51,7 +51,7 @@ void MapWebSocketServer::onNewConnection()
void MapWebSocketServer::processTextMessage(QString message)
{
QWebSocket *client = qobject_cast<QWebSocket *>(sender());
//QWebSocket *client = qobject_cast<QWebSocket *>(sender());
//qDebug() << "MapWebSocketServer::processTextMessage - Received text " << message;
QJsonParseError error;
@ -65,7 +65,7 @@ void MapWebSocketServer::processTextMessage(QString message) @@ -65,7 +65,7 @@ void MapWebSocketServer::processTextMessage(QString message)
void MapWebSocketServer::processBinaryMessage(QByteArray message)
{
QWebSocket *client = qobject_cast<QWebSocket *>(sender());
//QWebSocket *client = qobject_cast<QWebSocket *>(sender());
// Shouldn't receive any binary messages for now
qDebug() << "MapWebSocketServer::processBinaryMessage - Received binary " << message;
}

2
sdrgui/gui/httpdownloadmanagergui.cpp

@ -100,6 +100,8 @@ void HttpDownloadManagerGUI::downloadCompleteGUI(const QString& filename, bool s @@ -100,6 +100,8 @@ void HttpDownloadManagerGUI::downloadCompleteGUI(const QString& filename, bool s
void HttpDownloadManagerGUI::retryDownload(const QString &filename, QNetworkReply *oldReply, QNetworkReply *newReply)
{
(void) oldReply;
int idx = m_filenames.indexOf(filename);
if (idx >= 0)
{

Loading…
Cancel
Save