diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2014-01-19 16:24:39 +0100 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2014-01-19 16:24:39 +0100 |
commit | 3f5ab150ef32bf98128ee61b48a263832621f840 (patch) | |
tree | 669ae859ed342952e70771dc0f89d8aec677d7e8 /src | |
parent | e9b94340499d62850ead0cc5a67ecd7617077764 (diff) |
fix warning about unused variable
Diffstat (limited to 'src')
-rw-r--r-- | src/AntMessenger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AntMessenger.cpp b/src/AntMessenger.cpp index daf9b69..b318dbf 100644 --- a/src/AntMessenger.cpp +++ b/src/AntMessenger.cpp @@ -826,7 +826,7 @@ AntMessenger::ANTFS_Direct(const uchar chan, const uint64_t code) CHECK_RETURN_FALSE_LOG_OK(waitForBurst(chan, burstData, 10*1000)); CHECK_RETURN_FALSE_LOG_OK(burstData.size()>=2*8); - const M_ANTFS_Beacon* beac(reinterpret_cast<const M_ANTFS_Beacon*>(&burstData[0])); + //const M_ANTFS_Beacon* beac(reinterpret_cast<const M_ANTFS_Beacon*>(&burstData[0])); const M_ANTFS_Response* resp(reinterpret_cast<const M_ANTFS_Response*>(&burstData[8])); CHECK_RETURN_FALSE_LOG_OK(resp->responseId==ANTFS_CommandResponseId); CHECK_RETURN_FALSE_LOG_OK(resp->response==ANTFS_RespDirect); |