mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Fix compiler warnings
All are harmless but for the sake of clarity have fixed them all bar a couple; - Lucene grumbles about signed/unsigned conversion which is/isn't valid depending upon the version of CLucene you compile with. Either way it is harmless. - QxtScheduleView has a bunch of issues, but since it is a third party widget its better to leave it unchanged.
This commit is contained in:
@@ -53,7 +53,6 @@ RideFile *PolarFileReader::openRideFile(QFile &file, QStringList &errors, QList<
|
||||
bool altitude = false;
|
||||
bool power = false;
|
||||
bool balance = false;
|
||||
bool pedaling_index = false;
|
||||
|
||||
|
||||
int recInterval = 1;
|
||||
@@ -153,8 +152,7 @@ RideFile *PolarFileReader::openRideFile(QFile &file, QStringList &errors, QList<
|
||||
power = true;
|
||||
if (smode.length()>3 && smode.at(4)=='1')
|
||||
balance = true;
|
||||
if (smode.length()>4 && smode.at(5)=='1')
|
||||
pedaling_index = true;
|
||||
//if (smode.length()>4 && smode.at(5)=='1') pedaling_index = true;
|
||||
|
||||
/*
|
||||
It appears that the Polar CS600 exports its data alays in metric when downloaded from the
|
||||
|
||||
Reference in New Issue
Block a user