diff options
author | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-07 17:01:55 +0000 |
---|---|---|
committer | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-07 17:01:55 +0000 |
commit | b9489b7232d546975b757c4c06e8eb673abc90af (patch) | |
tree | 7335a7ae0ad04e1b54802e3bb0f99a3324089bc9 /epan/dissectors/packet-dvbci.c | |
parent | f4c010f08f549bf8b47cb81133f5a59d4ab2247c (diff) |
Squelch compiler warning:
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
By setting hdr_tag = 0, but see question on bug #5654 on whether 0 is a
good default value or not.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36157 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dvbci.c')
-rw-r--r-- | epan/dissectors/packet-dvbci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dvbci.c b/epan/dissectors/packet-dvbci.c index eefe4ed97c..ea5f82d435 100644 --- a/epan/dissectors/packet-dvbci.c +++ b/epan/dissectors/packet-dvbci.c @@ -1150,7 +1150,7 @@ dissect_dvbci_tpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_item *ti = NULL; proto_tree *trans_tree = NULL; gint offset, status_len; - guint8 hdr_tag; + guint8 hdr_tag = 0; /* XXX - is 0 a good default value? */ tvbuff_t *payload_tvb = NULL; proto_item *pi; |