mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49: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:
@@ -224,12 +224,10 @@ void ANTChannel::channelEvent(unsigned char *ant_message) {
|
||||
void ANTChannel::checkCinqo()
|
||||
{
|
||||
|
||||
int version_hi, version_lo, swab_version;
|
||||
int version_hi, version_lo;
|
||||
version_hi=(product_version >> 8) &0xff;
|
||||
version_lo=(product_version & 0xff);
|
||||
|
||||
swab_version=version_lo | (version_hi<<8);
|
||||
|
||||
if (!(mi.first_time_manufacturer || mi.first_time_product)) {
|
||||
if ((product_id == 1) && (manufacturer_id==7)) {
|
||||
// we are a cinqo, were we aware of this?
|
||||
|
||||
Reference in New Issue
Block a user