summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2013-03-02 18:25:46 +0100
committerRALOVICH, Kristóf <tade60@freemail.hu>2013-03-02 18:25:46 +0100
commite0578c6cdd571e33cb4bbf5c602497c3b51f1c1d (patch)
tree5e7b3fe54bb4c7829810621fdd98d8141ad954ed
parent6eb47eb0a6f34e817f372455087fba5dad222461 (diff)
fix warnings
-rw-r--r--src/AntFr310XT.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AntFr310XT.cpp b/src/AntFr310XT.cpp
index 7178225..6ee38a0 100644
--- a/src/AntFr310XT.cpp
+++ b/src/AntFr310XT.cpp
@@ -71,11 +71,11 @@ struct AntFr310XT2_EventLoop
AntFr310XT2::AntFr310XT2(bool eventLoopInBgTh)
: m_serial(new ANTPM_SERIAL_IMPL())
, m_antMessenger(new AntMessenger(eventLoopInBgTh))
- , doPairing(false)
, aplc(getConfigFolder()+std::string("libantpm_")+getDateString()+".antparse.txt")
, clientSN(0)
, pairedKey(0)
, m_eventLoopInBgTh(eventLoopInBgTh)
+ , doPairing(false)
, mode(MD_DOWNLOAD_ALL)
{
//boost::property_tree::ptree pt;
@@ -265,7 +265,7 @@ AntFr310XT2::handleEvents()
m_evQue.pop(m);
if(m.getMsgId()==MESG_RESPONSE_EVENT_ID)
{
- uint8_t chan=m.getPayloadRef()[0];
+ //uint8_t chan=m.getPayloadRef()[0];
uint8_t msgId=m.getPayloadRef()[1];
if(msgId==MESG_EVENT_ID)
{