mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-25 04:53:27 -04:00
PVS-Studio Analysis corrections for less serious issues
This commit is contained in:
@@ -499,7 +499,7 @@ int GLSpectrumGUI::getAveragingValue(int averagingIndex) const
|
||||
|
||||
int v = averagingIndex - 1;
|
||||
int m = pow(10.0, v/3 > m_averagingMaxScale ? m_averagingMaxScale : v/3);
|
||||
int x;
|
||||
int x = 1;
|
||||
|
||||
if (v % 3 == 0) {
|
||||
x = 2;
|
||||
|
||||
Reference in New Issue
Block a user