Wireshark-commits: [Wireshark-commits] master e2ebd8c: rtps: fix issue found by PVS Studio (V1001)

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 16 May 2018 04:14:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e2ebd8c72acc8b67048d93915f9b73fd5820124e
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e2ebd8c by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):

    rtps: fix issue found by PVS Studio (V1001)
    
    The 'offset' variable is assigned but is not used until the end of the function
    
    Change-Id: I699c8ea4c6533b9834aefbd12b920b04876773ee
    Reviewed-on: https://code.wireshark.org/review/27504
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  c05757f   h264: fix issue found by PVS Studio (V1001)
    adds  e2ebd8c   rtps: fix issue found by PVS Studio (V1001)


Summary of changes:
 epan/dissectors/packet-rtps.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)