1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-04 06:54:39 -04:00

PVS-Studio analys fixes: core package serious issues

This commit is contained in:
f4exb
2019-06-14 16:58:09 +02:00
parent 63132f0165
commit 06dea9b29f
40 changed files with 105 additions and 41 deletions
+1 -5
View File
@@ -139,7 +139,7 @@ qint32 DeviceSampleSource::calculateFrequencyShift(
}
}
}
else if (frequencyShiftScheme == FSHIFT_TXSYNC)
else // frequencyShiftScheme == FSHIFT_TXSYNC
{
if (fcPos == FC_POS_CENTER) {
return 0;
@@ -166,8 +166,4 @@ qint32 DeviceSampleSource::calculateFrequencyShift(
return 0;
}
}
else
{
return 0;
}
}