Wireshark-commits: [Wireshark-commits] master 633f156: Fix warning when compiling with -O3:

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 13 Aug 2014 12:19:31 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=633f1562ad2d8270c2710d1c6611362b3a516615
Submitter: Jörg Mayer (jmayer@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

633f156 by Joerg Mayer (jmayer@xxxxxxxxx):

    Fix warning when compiling with -O3:
    
    /home/jmayer/work/wireshark/git/epan/dissectors/packet-ipp.c: In function ‘dissect_ipp’:
    /home/jmayer/work/wireshark/git/epan/dissectors/packet-ipp.c:583:78: error: ‘name_val’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
                 if ((name_length > 5) && name_val && !strcmp(name_val+name_length-5, "-time")) {
                                                                                  ^
    /home/jmayer/work/wireshark/git/epan/dissectors/packet-ipp.c:557:11: note: ‘name_val’ was declared here
         char *name_val;
               ^
    
    Change-Id: I5e49596010572b285e4ca8f210cdcf49d56bfc10
    Reviewed-on: https://code.wireshark.org/review/3572
    Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
    

Actions performed:

    from  ea87383   802.11 : 11ac decode update , base on IEEE-11ac-2013   IE193 Extended BSS Load element (8.4.2.162)   IE194 Wide Bandwidth Channel Switch element (8.4.2.163)   IE199 Operating mode notification And extend capabilities octet 8.
    adds  633f156   Fix warning when compiling with -O3:


Summary of changes:
 NEWS                         |    3 ++-
 epan/dissectors/packet-ipp.c |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)