summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-artnet.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-05-28 16:00:20 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-05-28 16:00:20 +0000
commit4312a9dd613dc39e06991a93a676e3a6e4d72149 (patch)
treeae30e4b67676e86bda5a9a19ab29394353b4d8c7 /epan/dissectors/packet-artnet.c
parent5020a3f170972d7093f80a09b5f360548cc460eb (diff)
downloadwireshark-4312a9dd613dc39e06991a93a676e3a6e4d72149.tar.gz
Remove C++ style comments initilize some variables.
svn path=/trunk/; revision=42884
Diffstat (limited to 'epan/dissectors/packet-artnet.c')
-rw-r--r--epan/dissectors/packet-artnet.c7
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");