diff options
Diffstat (limited to 'epan/dissectors/packet-artnet.c')
-rw-r--r-- | epan/dissectors/packet-artnet.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-artnet.c b/epan/dissectors/packet-artnet.c index 8fe4d9494d..95d72654f7 100644 --- a/epan/dissectors/packet-artnet.c +++ b/epan/dissectors/packet-artnet.c @@ -1363,8 +1363,9 @@ dissect_artnet_rdm(tvbuff_t *tvb, guint offset, proto_tree *tree, packet_info * offset, 1, ENC_BIG_ENDIAN); offset += 1; - // check for old version that included the 0xCC startcode - // The 0xCC will never be the first byte of the RDM packet + /* check for old version that included the 0xCC startcode + * The 0xCC will never be the first byte of the RDM packet + */ sc = tvb_get_guint8(tvb, offset); if (sc == 0xCC) { @@ -1745,7 +1746,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { gint offset = 0; guint size; guint16 opcode; - proto_tree *ti,*hi,*si,*artnet_tree=NULL,*artnet_header_tree=NULL; + proto_tree *ti = NULL,*hi = NULL,*si = NULL,*artnet_tree=NULL,*artnet_header_tree=NULL; /* Set the protocol column */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "ARTNET"); |