From eda98ae163b06fcd9f0c42dbf40f95cadb0b66ca Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 19 Feb 2026 16:17:03 +0000 Subject: [PATCH] Compilation warning fixes. --- DStarControl.cpp | 5 ++--- Version.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/DStarControl.cpp b/DStarControl.cpp index 605c6fb..35478fd 100644 --- a/DStarControl.cpp +++ b/DStarControl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015-2019,2021,2023,2025 Jonathan Naylor, G4KLX + * Copyright (C) 2015-2019,2021,2023,2025,2026 Jonathan Naylor, G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -766,9 +766,8 @@ void CDStarControl::writeNetwork() if (m_netState == RPT_NET_STATE::AUDIO) { unsigned char n = data[1U]; - unsigned int errors = 0U; if (::memcmp(data + 2U, DSTAR_NULL_AMBE_DATA_BYTES_SCRAMBLED, DSTAR_VOICE_FRAME_LENGTH_BYTES) != 0) { - errors = m_fec.regenerateDStar(data + 2U); + m_fec.regenerateDStar(data + 2U); blankDTMF(data + 2U); } diff --git a/Version.h b/Version.h index 18b215a..f864b83 100644 --- a/Version.h +++ b/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20260218"; +const char* VERSION = "20260219"; #endif