aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/profinet
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2012-04-28 18:50:20 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2012-04-28 18:50:20 +0000
commit7655cb2f5a2595c37dd905705f25612f6e9ef815 (patch)
treebbb71536a9ee3b656d50cf4e03c9aee792d5c017 /plugins/profinet
parent79b57614c575857b0de875536dfc22616518846e (diff)
Initialize u32RecDataLen to 0 to avoid a clang warning and in the event it never gets initialized in either dissect_IODWriteReqHeader_block() or dissect_IODReadReqHeader_block().
svn path=/trunk/; revision=42325
Diffstat (limited to 'plugins/profinet')
-rw-r--r--plugins/profinet/packet-dcerpc-pn-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/profinet/packet-dcerpc-pn-io.c b/plugins/profinet/packet-dcerpc-pn-io.c
index bd77746140..7eaf3bc197 100644
--- a/plugins/profinet/packet-dcerpc-pn-io.c
+++ b/plugins/profinet/packet-dcerpc-pn-io.c
@@ -8438,7 +8438,7 @@ dissect_IPNIO_Read_resp(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree, guint8 *drep)
{
guint16 u16Index = 0;
- guint32 u32RecDataLen;
+ guint32 u32RecDataLen = 0;
pnio_ar_t *ar = NULL;
offset = dissect_IPNIO_resp_header(tvb, offset, pinfo, tree, drep);