mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Fix gcc warnings
This commit is contained in:
parent
3ca25db820
commit
a0fb83585e
@ -262,6 +262,7 @@ QColor AISDemodGUI::getColor(const QString& mmsi)
|
||||
return QColor(m_categoryColors.value(category));
|
||||
}
|
||||
qDebug() << "No color for " << category;
|
||||
return Qt::white;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -66,7 +66,7 @@ void AISDemodSink::sampleToScope(Complex sample, Real magsq, Real fmDemod, Real
|
||||
if (m_scopeSink)
|
||||
{
|
||||
m_sampleBuffer[0][m_sampleBufferIndex] = sample;
|
||||
m_sampleBuffer[1][m_sampleBufferIndex] = Complex(m_magsq, 0.0f);
|
||||
m_sampleBuffer[1][m_sampleBufferIndex] = Complex(magsq, 0.0f);
|
||||
m_sampleBuffer[2][m_sampleBufferIndex] = Complex(fmDemod, 0.0f);
|
||||
m_sampleBuffer[3][m_sampleBufferIndex] = Complex(filt, 0.0f);
|
||||
m_sampleBuffer[4][m_sampleBufferIndex] = Complex(rxBuf, 0.0f);
|
||||
|
@ -948,7 +948,7 @@ void SatelliteTrackerGUI::plotPolarChart()
|
||||
// Plot rotator position
|
||||
QString ourSourceName = QString("F0:%1 %2").arg(m_satelliteTracker->getIndexInFeatureSet()).arg(m_satelliteTracker->getIdentifier()); // Only one feature set in practice?
|
||||
std::vector<FeatureSet*>& featureSets = MainCore::instance()->getFeatureeSets();
|
||||
for (int featureSetIndex = 0; featureSetIndex < featureSets.size(); featureSetIndex++)
|
||||
for (int featureSetIndex = 0; featureSetIndex < (int)featureSets.size(); featureSetIndex++)
|
||||
{
|
||||
FeatureSet *featureSet = featureSets[featureSetIndex];
|
||||
for (int featureIndex = 0; featureIndex < featureSet->getNumberOfFeatures(); featureIndex++)
|
||||
|
Loading…
Reference in New Issue
Block a user