From 000796dc3d909f179fb6586fae7e9ce986440576 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 28 Jan 2017 16:14:08 +0100 Subject: Avoid uninitialised fields, modernise DabService::nbComponent --- src/dabOutput/edi/AFPacket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dabOutput/edi/AFPacket.h') diff --git a/src/dabOutput/edi/AFPacket.h b/src/dabOutput/edi/AFPacket.h index 0ffd13f..b4ccef1 100644 --- a/src/dabOutput/edi/AFPacket.h +++ b/src/dabOutput/edi/AFPacket.h @@ -52,7 +52,7 @@ class AFPacketiser private: static const bool have_crc = true; - uint16_t seq; //counter that overflows at 0xFFFF + uint16_t seq = 0; //counter that overflows at 0xFFFF bool m_verbose; }; -- cgit v1.2.3