mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
fix unused parameter warning
This commit is contained in:
@@ -251,6 +251,7 @@ PowerTap::is_time(unsigned char *buf, bool bVer81)
|
||||
time_t
|
||||
PowerTap::unpack_time(unsigned char *buf, struct tm *time, bool bVer81)
|
||||
{
|
||||
(void) bVer81; // unused
|
||||
memset(time, 0, sizeof(*time));
|
||||
time->tm_year = 2000 + buf[1] - 1900;
|
||||
time->tm_mon = buf[2] - 1;
|
||||
|
||||
Reference in New Issue
Block a user