From 980dde5da66076d1402de2c4a0c0b31d876c8e25 Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 13 Feb 2017 12:49:25 +0100 Subject: [PATCH 1/2] Fix label --- Modem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modem.cpp b/Modem.cpp index 42ce6b6..d4429e0 100644 --- a/Modem.cpp +++ b/Modem.cpp @@ -477,7 +477,7 @@ void CModem::clock(unsigned int ms) printSamples(); break; - efault: + default: LogMessage("Unknown message, type: %02X", m_buffer[2U]); CUtils::dump("Buffer dump", m_buffer, m_length); break; From b81a500db472cbb02797486b230d914955f5a7b8 Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 13 Feb 2017 13:20:49 +0100 Subject: [PATCH 2/2] Remove unused variables --- YSFControl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/YSFControl.cpp b/YSFControl.cpp index 233d284..44abb4f 100644 --- a/YSFControl.cpp +++ b/YSFControl.cpp @@ -516,8 +516,6 @@ void CYSFControl::writeNetwork() CYSFFICH fich; bool valid = fich.decode(data + 35U); if (valid) { - unsigned char bn = fich.getBN(); - unsigned char bt = fich.getBT(); unsigned char dt = fich.getDT(); unsigned char fn = fich.getFN(); unsigned char ft = fich.getFT();