From 7da31cb1398041d9a71467eab82c9db2935f3c4c Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 13 Jan 2022 11:46:36 -0800 Subject: [PATCH] libpcap: remove definition of unused structure. We don't allocate a per-dumper private data structure, so there's no need to define a structure type. --- wiretap/libpcap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index 34e74137bf..adf204bddc 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -1002,10 +1002,6 @@ static int libpcap_read_header(wtap *wth, FILE_T fh, int *err, gchar **err_info, return TRUE; } -typedef struct { - pcap_variant_t variant; -} libpcap_dump_t; - /* Returns 0 if we could write the specified encapsulation type, an error indication otherwise. */ static int libpcap_dump_can_write_encap(int encap)