Skip to content

Commit

Permalink
Remove unused struct member from wtap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
hadrielk authored and guyharris committed Aug 20, 2015
1 parent b3daf70 commit ddaa311
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wiretap/wtap-int.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit ddaa311

Please sign in to comment.