mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
LP-10 Fix unitialized variable warning
This commit is contained in:
parent
257629dc3e
commit
162dde2677
@ -390,7 +390,8 @@ void ScopeGadgetWidget::addCurvePlot(QString objectName, QString fieldPlusSubFie
|
||||
plotData = new SequentialPlotData(object, field, element, scaleFactor,
|
||||
meanSamples, mathFunction, m_plotDataSize,
|
||||
pen, antialiased);
|
||||
} else if (m_plotType == ChronoPlot) {
|
||||
} else {
|
||||
Q_ASSERT(m_plotType == ChronoPlot);
|
||||
plotData = new ChronoPlotData(object, field, element, scaleFactor,
|
||||
meanSamples, mathFunction, m_plotDataSize,
|
||||
pen, antialiased);
|
||||
|
Loading…
x
Reference in New Issue
Block a user