aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btrfcomm.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-03-30 22:00:43 +0000
committerEvan Huus <eapache@gmail.com>2013-03-30 22:00:43 +0000
commit42ec0d8f0d13acbf79201ef455695d289a9da7b0 (patch)
tree0f3c507a29dbea7e6184a7905d9eea2a467dc08d /epan/dissectors/packet-btrfcomm.c
parentff9c205f943ac86e1d045fbf81df5ce5769f0057 (diff)
Hopefully fix a false-positive warning in the Mac buildbot.
It complains that service_info may be used uninitialized, but my manual analysis agrees with GCC 4.7 that it can't, so just defaulting it to NULL will be fine. svn path=/trunk/; revision=48663
Diffstat (limited to 'epan/dissectors/packet-btrfcomm.c')
-rw-r--r--epan/dissectors/packet-btrfcomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btrfcomm.c b/epan/dissectors/packet-btrfcomm.c
index 1001129077..e054342855 100644
--- a/epan/dissectors/packet-btrfcomm.c
+++ b/epan/dissectors/packet-btrfcomm.c
@@ -542,7 +542,7 @@ dissect_btrfcomm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
guint8 frame_type, pf_flag;
guint16 frame_len;
btl2cap_data_t *l2cap_data;
- service_info_t *service_info;
+ service_info_t *service_info = NULL;
ti = proto_tree_add_item(tree, proto_btrfcomm, tvb, offset, -1, ENC_NA);
rfcomm_tree = proto_item_add_subtree(ti, ett_btrfcomm);