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:
parent
abe55f8d19
commit
0a7acaf935
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user