Compilation warning fixes.

This commit is contained in:
Jonathan Naylor 2026-02-19 16:17:03 +00:00
parent ca24f49998
commit eda98ae163
2 changed files with 3 additions and 4 deletions

View file

@ -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);
}

View file

@ -19,6 +19,6 @@
#if !defined(VERSION_H)
#define VERSION_H
const char* VERSION = "20260218";
const char* VERSION = "20260219";
#endif