From 35f486cfa677c4a11a9d3742d7f32ab51da9870e Mon Sep 17 00:00:00 2001 From: Ivan Morozko Date: Tue, 29 Oct 2024 12:14:40 +0400 Subject: [PATCH] Remove redundant counters init in PcapFileWriterDevice constructor (#1625) --- Pcap++/src/PcapFileDevice.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Pcap++/src/PcapFileDevice.cpp b/Pcap++/src/PcapFileDevice.cpp index c1560da05..d37997e5c 100644 --- a/Pcap++/src/PcapFileDevice.cpp +++ b/Pcap++/src/PcapFileDevice.cpp @@ -564,8 +564,6 @@ namespace pcpp : IFileWriterDevice(fileName) { m_PcapDumpHandler = nullptr; - m_NumOfPacketsNotWritten = 0; - m_NumOfPacketsWritten = 0; m_PcapLinkLayerType = linkLayerType; m_AppendMode = false; #if defined(PCAP_TSTAMP_PRECISION_NANO)