Remove unused variable

This commit is contained in:
dmiller 2026-07-02 20:36:22 +00:00
parent bc4346dd87
commit 30df9912b5

View file

@ -150,7 +150,6 @@ int ProbeMode::start(){
int p=0, pc=-1; /**< Indexes for ports count */
u32 c=0; /**< Index for packet count */
u32 zero=0; /**< Empty payload */
u8 pktinfobuffer[512+1]; /**< Used in ippackethdrinfo() calls */
u8 pkt[MAX_IP_PACKET_LEN]; /**< Holds packets returned by fillpacket */
int pktLen=0; /**< Length of current packet */
NpingTarget *target=NULL; /**< Current target */
@ -180,7 +179,6 @@ int ProbeMode::start(){
/* Some safe zero initializations */
memset(pktinfobuffer, 0, 512+1);
memset(pkt, 0, MAX_IP_PACKET_LEN);
memset(&pcap_nsi, 0, sizeof(pcap_nsi));
memset(pkts2send, 0, MX_PKT * sizeof(sendpkt_t));