diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-11-22 08:10:53 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-11-22 13:05:14 +0000 |
commit | 76911025a38ae9092f61f2ed0c501d1ce14ce074 (patch) | |
tree | b0d6c3895ed68369cb066b3b0865341122855220 /epan/dissectors | |
parent | 5c5409735d49850692fff9958f95a927eac88845 (diff) |
PW-ATM: fix code will never be executed [-Wunreachable-code]
Change-Id: If838db823dd1c7614fcfdfc2774952bf70da3c6e
Reviewed-on: https://code.wireshark.org/review/18919
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-pw-atm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pw-atm.c b/epan/dissectors/packet-pw-atm.c index 6fdf7ad4b6..844b9248aa 100644 --- a/epan/dissectors/packet-pw-atm.c +++ b/epan/dissectors/packet-pw-atm.c @@ -291,8 +291,8 @@ number_of_cells(const pwatm_mode_t mode } /*fallthrough*/ default: - DISSECTOR_ASSERT_NOT_REACHED(); *remainder_size = payload_size; + DISSECTOR_ASSERT_NOT_REACHED(); return 0; } |