From ea2a3ac4024c8f5610042a7815443be2731b480b Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Wed, 23 Dec 2015 08:46:45 -0500 Subject: Initialize Qt info_data_t structure in constructor. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tshark.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tshark.c') 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) -- cgit v1.2.3