From f765cef661f68ea4a0fb63285e26ee70a41d0751 Mon Sep 17 00:00:00 2001 From: Sean Rhea Date: Sun, 9 Aug 2009 09:28:56 -0700 Subject: [PATCH] fix unused parameter warning --- src/PowerTap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PowerTap.cpp b/src/PowerTap.cpp index 7a3764c25..1e93ce496 100644 --- a/src/PowerTap.cpp +++ b/src/PowerTap.cpp @@ -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;