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)