aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-15 12:41:24 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-15 12:41:24 +0000
commit9f640dc58ec36e5f3791ac8f2ea72ccdc59a803b (patch)
treef53e5e44ce2b319a3bd669b2c19259ee5c467498 /epan/tvbuff.c
parentee6f48e0af6a5203a5d9b5b19a5784505acd41ec (diff)
Add a missing DISSECTOR_ASSERT in tvb_init()
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29433 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/tvbuff.c')
-rw-r--r--epan/tvbuff.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
index 1189f0bce5..de0756ab4e 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -112,6 +112,10 @@ tvb_init(tvbuff_t *tvb, tvbuff_type type)
composite->start_offsets = NULL;
composite->end_offsets = NULL;
break;
+
+ default:
+ DISSECTOR_ASSERT_NOT_REACHED();
+ break;
}
}