diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-03-05 19:38:07 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-03-05 22:06:19 +0000 |
commit | 70e04f3f4c1a290ce8834bb7f9773d4f644db5e8 (patch) | |
tree | 0178558f3215d9448907aa25d36946bdb5cdcc20 /dumpcap.c | |
parent | 8b017dc919ae9c2dfcb095cdae4c31513a522e5a (diff) |
dumpcap: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7
Change-Id: I46bf9ae4150d9bd7efe5387919091ac49143232d
Reviewed-on: https://code.wireshark.org/review/20414
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2026,8 +2026,8 @@ cap_pipe_dispatch(loop_data *ld, pcap_options *pcap_opts, guchar *data, char *er pcap_opts->cap_pipe_state = STATE_EXPECT_DATA; return 0; } - /* no data to read? fall through */ - + /* no data to read? */ + /* FALLTHROUGH */ case PD_DATA_READ: /* Fill in a "struct pcap_pkthdr", and process the packet. */ phdr.ts.tv_sec = pcap_opts->cap_pipe_rechdr.hdr.ts_sec; |