aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h223.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-08-31 13:54:53 +0200
committerMichael Mann <mmann78@netscape.net>2015-09-04 14:31:49 +0000
commitecc51f3ea6c94bffc641691cc907ee1762593ee1 (patch)
tree357ba20b6deb7040ded9b3f0042241c7de4564e8 /epan/dissectors/packet-h223.c
parentf526468bd3598c6e1ad67a53e9471a210a90e46f (diff)
H223: fix will never be executed [-Wunreachable-code]
Found by Clang 3.7 Change-Id: I3a7c41eba2ee636bb74326598a3de47f5a23126a Reviewed-on: https://code.wireshark.org/review/10325 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-h223.c')
-rw-r--r--epan/dissectors/packet-h223.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-h223.c b/epan/dissectors/packet-h223.c
index f358a46db6..42020e1c87 100644
--- a/epan/dissectors/packet-h223.c
+++ b/epan/dissectors/packet-h223.c
@@ -1111,11 +1111,9 @@ attempt_mux_level0_header_parse(guint32 nbytes _U_, guint32 hdr _U_, guint32 *mi
}
static gboolean
-attempt_mux_level1_header_parse(guint32 nbytes, guint32 hdr, guint32 *minlen)
+attempt_mux_level1_header_parse(guint32 nbytes, guint32 hdr, guint32 *minlen )
{
/* this is untested */
- DISSECTOR_ASSERT_NOT_REACHED();
-
if(nbytes < 2)
return FALSE;