Wireshark-commits: [Wireshark-commits] master 995b0ba: ldap: fix issue found by PVS Studio (V1001)

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

Commits:

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

    ldap: fix issue found by PVS Studio (V1001)
    
    The 'offset' variable is assigned but is not used until the end of the function
    
    Change-Id: Ib626b81f78b1b59547f451952cbdfb1bf04d2205
    Reviewed-on: https://code.wireshark.org/review/27507
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  e18d20c   wbxml: fix issue found by PVS Studio (V1001)
    adds  995b0ba   ldap: fix issue found by PVS Studio (V1001)


Summary of changes:
 epan/dissectors/asn1/ldap/packet-ldap-template.c | 1 -
 epan/dissectors/packet-ldap.c                    | 7 +++----
 2 files changed, 3 insertions(+), 5 deletions(-)