Use start_offset to set the item length in the usual pattern (assuming this was
intended). Fixes the unused variable warning on start_offset. svn path=/trunk/; revision=51338
This commit is contained in:
parent
0776754488
commit
69e9d50a23
|
@ -1669,6 +1669,7 @@ dissect_admin_record(proto_tree *primary_tree, tvbuff_t *tvb, packet_info *pinfo
|
|||
break;
|
||||
} /* End Switch */
|
||||
|
||||
proto_item_set_len(admin_record_item, offset - start_offset);
|
||||
*success = TRUE;
|
||||
return offset;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue