From 94eb71db900ff2c8a6fb890e990762881970f9e0 Mon Sep 17 00:00:00 2001 From: "RALOVICH, Kristóf" Date: Mon, 8 Jul 2013 23:08:29 +0200 Subject: remove a bunch of warnings --- src/AntMessenger.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/AntMessenger.cpp') diff --git a/src/AntMessenger.cpp b/src/AntMessenger.cpp index 134ff6a..430b5a8 100644 --- a/src/AntMessenger.cpp +++ b/src/AntMessenger.cpp @@ -369,7 +369,7 @@ AntMessenger::ANTFS_Pairing(const uchar chan, const uint hostSN, const std::stri // ANTFS_RespAuthenticate std::vector burstData; - bool rv = bl.collectBurst(burstData, 30*1000); // 30s to allow user confirmation + /*bool rv =*/ bl.collectBurst(burstData, 30*1000); // 30s to allow user confirmation //pc.rmMsgListener(&bl); CHECK_RETURN_FALSE_LOG_OK(burstData.size()==3*8); @@ -742,7 +742,7 @@ AntMessenger::ANTFS_RequestClientDeviceSerialNumber(const uchar chan, const uint CHECK_RETURN_FALSE_LOG_OK(ANT_SendAcknowledgedData(chan, reinterpret_cast(&cmd), 2000)); std::vector burstData; - bool rv = bl.collectBurst(burstData, 5000); + /*bool rv =*/ bl.collectBurst(burstData, 5000); //pc.rmMsgListener(&bl); // TODO: interpret event:EVENT_TRANSFER_RX_FAILED as signal of failed bursting @@ -1012,7 +1012,7 @@ AntMessenger::waitForBurst(const uchar chan, // keep reading ... // read last one - uchar expectedSeq=0; + //uchar expectedSeq=0; bool found=false; bool lastFound=false; -- cgit v1.2.3