fix static analysis error (CID 373575)

Signed-off-by: Carlo Galiotto <carlo@srs.io>
master
Carlo Galiotto 3 years ago committed by Xavier Arteaga
parent a9904c2b64
commit 781ae4abfb

@ -138,7 +138,7 @@ void metrics_stdout::set_metrics_helper(uint32_t num_ue
} else { } else {
fmt::print(" {:>5.5}", "n/a"); fmt::print(" {:>5.5}", "n/a");
} }
int phr = (is_nr) ? mac.ues[i].phr : mac.ues[i].phr; int phr = mac.ues[i].phr;
fmt::print(" {:>3}", int(phr)); fmt::print(" {:>3}", int(phr));
if (not isnan(phr)) { if (not isnan(phr)) {
fmt::print(" {:>2}", int(phr)); fmt::print(" {:>2}", int(phr));

Loading…
Cancel
Save