Wireshark-commits: [Wireshark-commits] master 9e560bc: Fix warning when compiling with -O3
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 13 Aug 2014 12:34:55 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9e560bc3f0317b931a0ca08fded42f1035895c2f
Submitter: Jörg Mayer (jmayer@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

9e560bc by Joerg Mayer (jmayer@xxxxxxxxx):

    Fix warning when compiling with -O3
    
    /home/jmayer/work/wireshark/git/epan/dissectors/packet-lmp.c: In function ‘dissect_lmp’:
    /home/jmayer/work/wireshark/git/epan/dissectors/packet-lmp.c:776:13: error: array subscript is below array bounds [-Werror=array-bounds]
            ti = proto_tree_add_item(lmp_tree,
                 ^
    
    Change-Id: Ie949b4280f71a8f9f480a8e1d6592098ee7e67b5
    Reviewed-on: https://code.wireshark.org/review/3573
    Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
    

Actions performed:

    from  633f156   Fix warning when compiling with -O3:
    adds  9e560bc   Fix warning when compiling with -O3


Summary of changes:
 epan/dissectors/packet-lmp.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)