aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorHadriel Kaplan <hadrielk@yahoo.com>2015-08-19 18:30:29 -0400
committerGuy Harris <guy@alum.mit.edu>2015-08-20 00:17:18 +0000
commitddaa3117623d38f622b918e0c30042dbc826c251 (patch)
tree84f722e9d5ffdc7f62ba98489dcef2bda439dcc3 /wiretap
parentb3daf70714a4aeef99d6f19ee7af1e87723e7779 (diff)
Remove unused struct member from wtap
The 'number_of_interfaces' member of struct wtap is not used - nor is it needed since the interface_data is a GArray with its own 'len' member. Change-Id: Id0fb25248dea4bea9fc88a8ea35c09ba55029d89 Reviewed-on: https://code.wireshark.org/review/10138 Petri-Dish: Hadriel Kaplan <hadrielk@yahoo.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/wtap-int.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h
index 01f0ecdeb5..9b52444bb3 100644
--- a/wiretap/wtap-int.h
+++ b/wiretap/wtap-int.h
@@ -51,7 +51,6 @@ struct wtap {
struct Buffer *frame_buffer;
struct wtap_pkthdr phdr;
struct wtapng_section_s shb_hdr;
- guint number_of_interfaces; /**< The number of interfaces a capture was made on, number of IDB:s in a pcapng file or equivalent(?)*/
GArray *interface_data; /**< An array holding the interface data from pcapng IDB:s or equivalent(?)*/
wtapng_name_res_t *nrb_hdr; /**< holds the Name Res Block's comment/custom_opts, or NULL */