1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Dismiss warnings

This commit is contained in:
Martin Tůma 2018-07-03 19:16:51 +02:00
parent 366e84c9fc
commit e7cfeb0d1a
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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);