Wireshark-commits: [Wireshark-commits] master a4afda6: Remove superfluous length check (CID-1158783

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 10 Jun 2016 03:56:58 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a4afda6d48912ea73129ddf81116b4debef50db5
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a4afda6 by Jaap Keuter (jaap.keuter@xxxxxxxxx):

    Remove superfluous length check (CID-1158783)
    
    When entering a loop with check for minimum length, don't stick
    to the pattern of checking length first thing.
    
    Change-Id: I28c414108efa5499dbacd8527b2c3e654e49e808
    Reviewed-on: https://code.wireshark.org/review/15795
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  4233e9a   Don't assume all IDBs are available aftre we open the file.
    adds  a4afda6   Remove superfluous length check (CID-1158783)


Summary of changes:
 epan/dissectors/packet-lldp.c |    6 ------
 1 file changed, 6 deletions(-)