Wireshark-users: Re: [Wireshark-users] packet-ixveriwave.c: 'mgmt_byte' may be used uninitialized
Date Prev · Date Next · Thread Prev · Thread Next
From: jungle boogie <jungleboogie0@xxxxxxxxx>
Date: Sun, 30 Apr 2017 12:35:13 -0700
On 04/30/2017 09:57 AM, Guy Harris wrote:
On Apr 29, 2017, at 8:56 PM, jungle boogie <jungleboogie0@xxxxxxxxx> wrote:

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

Should be fixed by 0e2ce1d3e0ca5c6c685a267b2ea741789d4f5f7b.

Yep, all better! Thanks for the quick fix.