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
This commit is contained in:
Chris Maynard 2013-03-28 15:41:25 +00:00
parent bbf2beaa53
commit be892e31c0
2 changed files with 3 additions and 3 deletions

View File

@ -796,7 +796,7 @@ dissect_capabilities(tvbuff_t *tvb, packet_info *pinfo,
losc = 0;
break;
case SERVICE_CATEGORY_CONTENT_PROTECTION:
pitem = proto_tree_add_item(service_tree, hf_btavdtp_content_protection_type, tvb, offset, 2, ENC_LITTLE_ENDIAN);
proto_tree_add_item(service_tree, hf_btavdtp_content_protection_type, tvb, offset, 2, ENC_LITTLE_ENDIAN);
offset += 2;
losc -= 2;

View File

@ -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);