mbim: Fix Dead Store

Fix dead store (Dead assignement/Dead increment) Warning found by Clang
This commit is contained in:
Alexis La Goutte 2020-09-22 21:34:21 +02:00 committed by Wireshark GitLab Utility
parent de44c3e392
commit e126d91455
1 changed files with 1 additions and 1 deletions

View File

@ -5278,7 +5278,7 @@ mbim_dissect_ms_app_list(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tree* tree
proto_tree_add_item_ret_uint(tree, hf_mbim_ms_app_list_app_list_offset, tvb, offset, 4, ENC_LITTLE_ENDIAN, &app_list_offset);
offset += 4;
proto_tree_add_item(tree, hf_mbim_ms_app_list_app_list_size, tvb, offset, 4, ENC_LITTLE_ENDIAN);
offset += 4;
/*offset += 4;*/
if (app_count && app_list_offset) {
offset = base_offset + app_list_offset;
mbim_dissect_ms_app_info_elements(tvb, pinfo, tree, offset, app_count);