1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-27 15:26:33 -04: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;