aboutsummaryrefslogtreecommitdiffstats
path: root/capinfos.c
diff options
context:
space:
mode:
Diffstat (limited to 'capinfos.c')
-rw-r--r--capinfos.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/capinfos.c b/capinfos.c
index 7cef396f2d..c43dddd83a 100644
--- a/capinfos.c
+++ b/capinfos.c
@@ -1057,10 +1057,6 @@ print_stats_table(const gchar *filename, capture_info *cf_info)
section_number++) {
wtap_block_t shb;
- // If we have more than one section, add headers for each section.
- if (wtap_file_get_num_shbs(cf_info->wth) > 1)
- printf("Section %u: \n", section_number);
-
shb = wtap_file_get_shb(cf_info->wth, section_number);
if (cap_file_more_info) {
char *str;
@@ -1103,10 +1099,6 @@ print_stats_table(const gchar *filename, capture_info *cf_info)
char *opt_comment;
gboolean have_cap = FALSE;
- // If we have more than one section, add headers for each section.
- if (wtap_file_get_num_shbs(cf_info->wth) > 1)
- printf("Section %u: \n", section_number);
-
for (i = 0; wtap_block_get_nth_string_option_value(shb, OPT_COMMENT, i, &opt_comment) == WTAP_OPTTYPE_SUCCESS; i++) {
have_cap = TRUE;
putsep();