aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-12-23 08:46:45 -0500
committerStig Bjørlykke <stig@bjorlykke.org>2015-12-23 18:22:38 +0000
commitea2a3ac4024c8f5610042a7815443be2731b480b (patch)
tree46f079af14c228996bc83b05a305d4696c8da977 /tshark.c
parent40312bf2ebc30d943e1c1372877279d091462de9 (diff)
Initialize Qt info_data_t structure in constructor.
GTK and TShark should already have structure initialized to 0 because they are global variables. Change-Id: I43a38c58f32967d201ddf78e450b2483f28f8bd6 Reviewed-on: https://code.wireshark.org/review/12847 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tshark.c b/tshark.c
index c603dc584f..c5d4fb6ffc 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2564,9 +2564,6 @@ capture(void)
fflush(stderr);
g_string_free(str, TRUE);
- /* initialize the counts hash with null */
- global_info_data.counts.counts_hash = NULL;
-
ret = sync_pipe_start(&global_capture_opts, &global_capture_session, &global_info_data, NULL);
if (!ret)