Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=48897
This commit is contained in:
Alexis La Goutte 2013-04-17 19:36:49 +00:00
parent d385db2133
commit a376f3b5d1
1 changed files with 1 additions and 1 deletions

View File

@ -877,7 +877,7 @@ dissect_mip( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset += 4;
}
/* encapsulated payload */
next_tvb = tvb_new_subset_remaining(tvb, 4);
next_tvb = tvb_new_subset_remaining(tvb, offset);
call_dissector(ip_handle, next_tvb, pinfo, mip_tree);
offset = tvb_reported_length(tvb);
break;