aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-05-14 11:02:39 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-05-14 11:02:39 +0000
commitd1208e55e142489df2fae06ebd4ebc644d248601 (patch)
treeba4155db8ee1b3ad1a6f7146d2ce6e528cd3744c /plugins
parent4af0ec58ef14eaf3a6e54e88a5d9c92d7fb1bc49 (diff)
Initialize aitem.
svn path=/trunk/; revision=25302
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ethercat/packet-ethercat-datagram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ethercat/packet-ethercat-datagram.c b/plugins/ethercat/packet-ethercat-datagram.c
index 76e194ab63..a80c7d06c2 100644
--- a/plugins/ethercat/packet-ethercat-datagram.c
+++ b/plugins/ethercat/packet-ethercat-datagram.c
@@ -440,7 +440,7 @@ static void EcSubFormatter(tvbuff_t *tvb, gint offset, char *szText, gint nMax)
static void dissect_ecat_datagram(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
tvbuff_t *next_tvb;
- proto_item *ti, *aitem;
+ proto_item *ti, *aitem = NULL;
proto_tree *ecat_datagrams_tree = NULL;
guint offset = 0;
char szText[200];