Wireshark-bugs: [Wireshark-bugs] [Bug 5654] dissector for DVB-CI (Common Interface)

Date: Mon, 7 Mar 2011 09:02:53 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5654

--- Comment #15 from Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx> 2011-03-07 10:02:48 MST ---
This patch causes a warning when compiling on Unix with gcc:

packet-dvbci.c: In function 'dissect_dvbci_lpdu':
packet-dvbci.c:1153: warning: 'hdr_tag' may be used uninitialized in this
function
packet-dvbci.c:1153: note: 'hdr_tag' was declared here

I've committed SVN revision 36157 to assign hdr_tag to 0 when it is defined --
is this a good default value to use in case dissect_dvbci_tpdu_hdr() doesn't
assign it?

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.