1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-22 17:45:48 -05:00

Fix lint warnings.

This commit is contained in:
srcejon 2024-10-15 09:21:08 +01:00
parent 5d1478d047
commit 98aa40424d
2 changed files with 3 additions and 3 deletions

View File

@ -374,7 +374,7 @@ void RTLSDRThread::handleInputMessages()
{
Message* message;
while ((message = m_inputMessageQueue.pop()) != 0)
while ((message = m_inputMessageQueue.pop()) != nullptr)
{
if (handleMessage(*message)) {
delete message;
@ -386,7 +386,7 @@ bool RTLSDRThread::handleMessage(const Message& cmd)
{
if (RTLSDRInput::MsgConfigureRTLSDR::match(cmd))
{
RTLSDRInput::MsgConfigureRTLSDR& conf = (RTLSDRInput::MsgConfigureRTLSDR&) cmd;
auto& conf = (const RTLSDRInput::MsgConfigureRTLSDR&) cmd;
applySettings(conf.getSettings(), conf.getSettingsKeys(), conf.getForce());

View File

@ -36,7 +36,7 @@ class RTLSDRThread : public QThread {
Q_OBJECT
public:
RTLSDRThread(rtlsdr_dev_t* dev, SampleSinkFifo* sampleFifo, ReplayBuffer<quint8> *replayBuffer, const RTLSDRSettings& settings, QObject* parent = NULL);
RTLSDRThread(rtlsdr_dev_t* dev, SampleSinkFifo* sampleFifo, ReplayBuffer<quint8> *replayBuffer, const RTLSDRSettings& settings, QObject* parent = nullptr);
~RTLSDRThread();
void startWork();