diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-03-28 15:41:25 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-03-28 15:41:25 +0000 |
commit | be892e31c0d01e83ec86407840f91b5f3cdccb35 (patch) | |
tree | 4afa3194d531d2c832e5c768a299469f844e0b07 /epan/dissectors/packet-btmcap.c | |
parent | bbf2beaa537207c0320d8d24c8554aaf536daf83 (diff) |
Fix the remaining instances of Coverity CID's 741992 and 986498, which should have been committed with r47073 and r47830, respectively. (I find Coverity doesn't always make it so obvious that there's more than 1 instance for a given CID.)
svn path=/trunk/; revision=48621
Diffstat (limited to 'epan/dissectors/packet-btmcap.c')
-rw-r--r-- | epan/dissectors/packet-btmcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-btmcap.c b/epan/dissectors/packet-btmcap.c index 3c0cc88d1f..b60fdc221b 100644 --- a/epan/dissectors/packet-btmcap.c +++ b/epan/dissectors/packet-btmcap.c @@ -187,7 +187,7 @@ dissect_btmcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_item_append_text(pitem, " (Reserved)"); } - pitem = proto_tree_add_item(main_tree, hf_btmcap_configuration, tvb, offset, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(main_tree, hf_btmcap_configuration, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } break; @@ -197,7 +197,7 @@ dissect_btmcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) offset += 2; break; case 0x13: /* MD_SYNC_SET_REQ */ - pitem = proto_tree_add_item(main_tree, hf_btmcap_timestamp_update_information, tvb, offset, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(main_tree, hf_btmcap_timestamp_update_information, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; pitem = proto_tree_add_item(main_tree, hf_btmcap_bluetooth_clock_sync_time, tvb, offset, 4, ENC_BIG_ENDIAN); |