aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btobex.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-18 10:49:09 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-18 10:49:09 +0000
commitd27c09073886ea8ab7f9b5d695a0086bd35f0bd7 (patch)
tree18365ebf3538d4da0544d6c3584f3b824110c6c5 /epan/dissectors/packet-btobex.c
parent18ffebbae29ddb4de3d6b2225f413e13099301dc (diff)
Remove NULL pointer guard in defragment_init()
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32873 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-btobex.c')
-rw-r--r--epan/dissectors/packet-btobex.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/epan/dissectors/packet-btobex.c b/epan/dissectors/packet-btobex.c
index a23a71d166..b80db8a222 100644
--- a/epan/dissectors/packet-btobex.c
+++ b/epan/dissectors/packet-btobex.c
@@ -222,11 +222,8 @@ static const value_string header_id_vals[] = {
static void defragment_init(void)
{
- if( fragment_table == NULL)
- {
- fragment_table_init(&fragment_table);
- reassembled_table_init(&reassembled_table);
- }
+ fragment_table_init(&fragment_table);
+ reassembled_table_init(&reassembled_table);
}
static int is_ascii_str(const guint8 *str, int length)