rtps-virtual-transport: Fix unused variable

This commit is contained in:
Alexis La Goutte 2021-05-30 18:46:39 +00:00 committed by Wireshark GitLab Utility
parent b65488b4be
commit a65b879b04
1 changed files with 0 additions and 2 deletions

View File

@ -969,11 +969,9 @@ static gint dissect_rtps_virtual_transport_loss_info_type(
{
guint16 param_id;
guint16 param_length;
param_id = tvb_get_guint16(tvb, offset, ENC_BIG_ENDIAN);
offset += 2;
param_length = tvb_get_guint16(tvb, offset, ENC_BIG_ENDIAN);
offset += 2;
if (param_id == PARAM_ID_LOST_MESSAGES) {
guint64 first_lost = tvb_get_guint64(tvb, offset, ENC_BIG_ENDIAN);