From 61a048e08cd72a3285c484af5629fc5127b9ddfd Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sat, 3 Oct 2026 14:07:23 -0400 Subject: [PATCH] modemm17/M17FrameDecoder: Initialize M17 decoder output buffer Initialize output_buffer in the M17FrameDecoder constructor. Found by cppcheck. Signed-off-by: Robin Getz --- modemm17/M17FrameDecoder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modemm17/M17FrameDecoder.h b/modemm17/M17FrameDecoder.h index ed9c033b7..1dc443250 100644 --- a/modemm17/M17FrameDecoder.h +++ b/modemm17/M17FrameDecoder.h @@ -107,7 +107,8 @@ struct M17FrameDecoder M17FrameDecoder(callback_t callback) : crc_(0x5935, 0xFFFF), - callback_(callback) + callback_(callback), + output_buffer{} {} void update_state(std::array& lsf_output)