Permalink
Browse files

Remove compilation warnings.

  • Loading branch information...
g4klx committed Nov 28, 2017
1 parent ac53939 commit 35629f87085720f499e7ffc9f10d5b7067750118
Showing with 5 additions and 4 deletions.
  1. +3 −2 DMRSlot.cpp
  2. +2 −2 JitterBuffer.cpp
View
@@ -1640,7 +1640,7 @@ void CDMRSlot::logGPSPosition(const unsigned char* data)
{
unsigned int errorI = (data[2U] & 0x0E) >> 1U;
char* error;
const char* error;
switch (errorI) {
case 0U:
error = "< 2m";
@@ -1664,7 +1664,8 @@ void CDMRSlot::logGPSPosition(const unsigned char* data)
error = "> 200km";
break;
default:
return;
error = "not known";
break;
}
int32_t longitudeI = ((data[2U] & 0x01U) << 31) | (data[3U] << 23) | (data[4U] << 15) | (data[5U] << 7);
View
@@ -32,11 +32,11 @@ m_debug(debug),
m_blockCount(0U),
m_timer(1000U, 0U, jitterTime),
m_stopWatch(),
m_running(false),
m_buffer(NULL),
m_headSequenceNumber(0U),
m_lastData(NULL),
m_lastDataLength(0U),
m_running(false)
m_lastDataLength(0U)
{
assert(blockSize > 0U);
assert(blockTime > 0U);

0 comments on commit 35629f8

Please sign in to comment.