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

Fix gcc warning.

This commit is contained in:
srcejon 2024-03-13 22:44:50 +00:00
parent abe55f8d19
commit 0a7acaf935

View File

@ -371,12 +371,11 @@ void ChannelPowerGUI::tick()
double magAvg, magPulseAvg, magMaxPeak, magMinPeak;
m_channelPower->getMagLevels(magAvg, magPulseAvg, magMaxPeak, magMinPeak);
double powDbAvg, powDbPulseAvg, powDbMaxPeak, powDbMinPeak, powDbPathLoss;
double powDbAvg, powDbPulseAvg, powDbMaxPeak, powDbMinPeak;
powDbAvg = std::numeric_limits<double>::quiet_NaN();
powDbPulseAvg = std::numeric_limits<double>::quiet_NaN();
powDbMaxPeak = std::numeric_limits<double>::quiet_NaN();
powDbMinPeak = std::numeric_limits<double>::quiet_NaN();
powDbPathLoss = std::numeric_limits<double>::quiet_NaN();
const int precision = 2;