Fixing warnings in scwx-qt

This commit is contained in:
Dan Paulat 2022-06-11 07:42:18 -05:00
parent 3339a40780
commit ff58f5bcf6
15 changed files with 36 additions and 21 deletions

View file

@ -254,8 +254,6 @@ void Level3RadialView::ComputeSweep()
dataMoments8.resize(radials * gates * VERTICES_PER_BIN);
// Compute threshold at which to display an individual bin
const float scale = descriptionBlock->scale();
const float offset = descriptionBlock->offset();
const uint16_t snrThreshold = descriptionBlock->threshold();
// Determine which radial to start at
@ -268,9 +266,7 @@ void Level3RadialView::ComputeSweep()
const auto dataMomentsArray8 = radialData->level(radial);
// Compute gate interval
const uint16_t dataMomentInterval = descriptionBlock->x_resolution_raw();
const uint16_t dataMomentIntervalH = dataMomentInterval / 2;
const uint16_t dataMomentRange = dataMomentIntervalH;
const uint16_t dataMomentInterval = descriptionBlock->x_resolution_raw();
// Compute gate size (number of base gates per bin)
const uint16_t gateSize = std::max<uint16_t>(