1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00

Fix gcc warnings

This commit is contained in:
Jon Beniston 2021-07-22 16:22:13 +01:00
parent ff508df7eb
commit 0acb9e4668

View File

@ -271,11 +271,11 @@ void RadioClockSink::dcf77()
// Daylight savings // Daylight savings
if (m_timeCode[17] && m_timeCode[16]) { if (m_timeCode[17] && m_timeCode[16]) {
m_dst = m_dst = RadioClockSettings::ENDING; m_dst = RadioClockSettings::ENDING;
} else if (m_timeCode[17]) { } else if (m_timeCode[17]) {
m_dst = m_dst = RadioClockSettings::IN_EFFECT; m_dst = RadioClockSettings::IN_EFFECT;
} else if (m_timeCode[18] && m_timeCode[16]) { } else if (m_timeCode[18] && m_timeCode[16]) {
m_dst = m_dst = RadioClockSettings::STARTING; m_dst = RadioClockSettings::STARTING;
} else if (m_timeCode[18]) { } else if (m_timeCode[18]) {
m_dst = RadioClockSettings::NOT_IN_EFFECT; m_dst = RadioClockSettings::NOT_IN_EFFECT;
} else { } else {
@ -426,11 +426,11 @@ void RadioClockSink::tdf(Complex &ci)
// Daylight savings // Daylight savings
if (m_timeCode[17] && m_timeCode[16]) { if (m_timeCode[17] && m_timeCode[16]) {
m_dst = m_dst = RadioClockSettings::ENDING; m_dst = RadioClockSettings::ENDING;
} else if (m_timeCode[17]) { } else if (m_timeCode[17]) {
m_dst = m_dst = RadioClockSettings::IN_EFFECT; m_dst = RadioClockSettings::IN_EFFECT;
} else if (m_timeCode[18] && m_timeCode[16]) { } else if (m_timeCode[18] && m_timeCode[16]) {
m_dst = m_dst = RadioClockSettings::STARTING; m_dst = RadioClockSettings::STARTING;
} else if (m_timeCode[18]) { } else if (m_timeCode[18]) {
m_dst = RadioClockSettings::NOT_IN_EFFECT; m_dst = RadioClockSettings::NOT_IN_EFFECT;
} else { } else {
@ -570,11 +570,11 @@ void RadioClockSink::msf60()
// Daylight savings // Daylight savings
if (m_timeCodeB[58] && m_timeCodeB[53]) { if (m_timeCodeB[58] && m_timeCodeB[53]) {
m_dst = m_dst = RadioClockSettings::ENDING; m_dst = RadioClockSettings::ENDING;
} else if (m_timeCodeB[58]) { } else if (m_timeCodeB[58]) {
m_dst = m_dst = RadioClockSettings::IN_EFFECT; m_dst = RadioClockSettings::IN_EFFECT;
} else if (m_timeCodeB[53]) { } else if (m_timeCodeB[53]) {
m_dst = m_dst = RadioClockSettings::STARTING; m_dst = RadioClockSettings::STARTING;
} else { } else {
m_dst = RadioClockSettings::NOT_IN_EFFECT; m_dst = RadioClockSettings::NOT_IN_EFFECT;
} }