URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bb43bd9be7d6335df2a9a49d21e97d41a481ec2b Submitter: "Peter Wu <pe...@lekensteyn.nl>" Changed: branch: master-2.6 Repository: wireshark
Commits: bb43bd9 by Dario Lombardo (lom...@gmail.com): ui: add missing break. Error: ../ui/alert_box.c: In function ‘cfile_write_failure_alert_box’: ../ui/alert_box.c:359:13: error: this statement may fall through [-Werror=implicit-fallthrough=] simple_error_message_box( ^~~~~~~~~~~~~~~~~~~~~~~~~ "Frame %u%s has a network type that differs from the network type of earlier packets, which isn't supported in a \"%s\" file.", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ framenum, in_file_string, ~~~~~~~~~~~~~~~~~~~~~~~~~ wtap_file_type_subtype_string(file_type_subtype)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ui/alert_box.c:364:9: note: here case WTAP_ERR_PACKET_TOO_LARGE: ^~~~ Change-Id: I55464afff5625ae8c587470e417234560c7e606c Reviewed-on: https://code.wireshark.org/review/30623 Reviewed-by: Dario Lombardo <lom...@gmail.com> Petri-Dish: Dario Lombardo <lom...@gmail.com> Tested-by: Dario Lombardo <lom...@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <pe...@lekensteyn.nl> (cherry picked from commit 8a2741010a057df88c3039f15d9823570f433cf8) Reviewed-on: https://code.wireshark.org/review/30624 Actions performed: from 611d7c8 Catch attempts to write multiple encapsulation types if unsupported. add bb43bd9 ui: add missing break. Summary of changes: ui/alert_box.c | 1 + 1 file changed, 1 insertion(+) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe