aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bthci_cmd.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-18 06:04:09 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-18 06:04:09 +0000
commitc2976ac50824db30343fa2cee70d05ac83423ef3 (patch)
treedfdc963c67873edbfeae35145696fa7399a85333 /epan/dissectors/packet-bthci_cmd.c
parent5726546c6330267c15b9b06814f0c73b5c7aa5ba (diff)
From Michal Labedzki:
Fix issues discovered by cppcheck Also use global OUI array in AVRCP. Thanks to Evan Huus for cppcheck. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8304 svn path=/trunk/; revision=48387
Diffstat (limited to 'epan/dissectors/packet-bthci_cmd.c')
-rw-r--r--epan/dissectors/packet-bthci_cmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bthci_cmd.c b/epan/dissectors/packet-bthci_cmd.c
index 9770d80f55..0768ae6042 100644
--- a/epan/dissectors/packet-bthci_cmd.c
+++ b/epan/dissectors/packet-bthci_cmd.c
@@ -2430,7 +2430,7 @@ dissect_testing_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tre
return offset;
}
-static void
+static gint
dissect_le_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint16 cmd_ocf)
{
proto_item *item;
@@ -2628,6 +2628,8 @@ dissect_le_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree,
offset+=tvb_length_remaining(tvb, offset);
break;
}
+
+ return offset;
}
/* Code to actually dissect the packets */