Wireshark mailing list archives

packet-ixveriwave.c: 'mgmt_byte' may be used uninitialized in this function [-Werror=maybe-uninitialized]


From: jungle boogie <jungleboogie0 () gmail com>
Date: Sat, 29 Apr 2017 20:56:49 -0700

Hi All,

Sorry, I don't know how to do a blame on the file packet-ixveriwave.c with the git interface at
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=tree


Getting a build failure...

CC       packet-ixveriwave.lo
packet-ixveriwave.c: In function 'dissect_ixveriwave':
packet-ixveriwave.c:1588:14: error: 'mgmt_byte' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   log_mode = (mgmt_byte & 0xf0) >> 4;
            ^
packet-ixveriwave.c:563:39: note: 'mgmt_byte' was declared here
   guint8      ixport_type,cmd_type, mgmt_byte;
                                     ^
cc1: all warnings being treated as errors
Makefile:4388: recipe for target 'packet-ixveriwave.lo' failed
make[6]: *** [packet-ixveriwave.lo] Error 1
make[6]: Leaving directory '/home/jungle/bin/wireshark/epan/dissectors'
Makefile:4436: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/jungle/bin/wireshark/epan/dissectors'


How do I perform a blame?
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=history;f=epan/dissectors/packet-ixveriwave.c;h=03a02ccc2dfeec271ad89274d8c46f79fb246a9a;hb=HEAD

Thanks,
jungle
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-users
            mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: