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:
Mark Liversedge
2013-02-06 15:54:32 +00:00
parent 0022140687
commit f527d8e5c2
16 changed files with 36 additions and 81 deletions

View File

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