Skip to content

Commit

Permalink
Remove redundant counters init in PcapFileWriterDevice constructor (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ol-imorozko authored Oct 29, 2024
1 parent 4f626cd commit 35f486c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Pcap++/src/PcapFileDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 35f486c

Please sign in to comment.