mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Dismiss warnings
This commit is contained in:
parent
366e84c9fc
commit
e7cfeb0d1a
@ -60,7 +60,7 @@ QList<GraphItem*> GearRatioGraph::loadData(const Data &data)
|
||||
|
||||
qreal GearRatioGraph::top() const
|
||||
{
|
||||
qreal key, val;
|
||||
qreal key = NAN, val = NAN;
|
||||
|
||||
for (QMap<qreal, qreal>::const_iterator it = _map.constBegin();
|
||||
it != _map.constEnd(); ++it) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
GearRatioGraphItem::GearRatioGraphItem(const Graph &graph, GraphType type,
|
||||
QGraphicsItem *parent) : GraphItem(graph, type, parent)
|
||||
{
|
||||
qreal val;
|
||||
qreal val = NAN;
|
||||
|
||||
for (int j = 1; j < graph.size(); j++) {
|
||||
const GraphPoint &p = graph.at(j);
|
||||
|
Loading…
Reference in New Issue
Block a user