aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-h223.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-h223.c b/epan/dissectors/packet-h223.c
index 970b1af90e..94abe57c7e 100644
--- a/epan/dissectors/packet-h223.c
+++ b/epan/dissectors/packet-h223.c
@@ -837,10 +837,10 @@ mux_element_sublist_size( h223_mux_element* me )
length += current_me->repeat_count;
current_me = current_me->next;
}
- if ( length == 0 ) { /* should never happen, but to avoid infinite loops... */
- DISSECTOR_ASSERT_NOT_REACHED();
- length = 1;
- }
+
+ /* should never happen, but to avoid infinite loops... */
+ DISSECTOR_ASSERT(length != 0);
+
return length;
}