From: jmayer Date: Thu, 1 Dec 2011 14:35:29 +0000 (+0000) Subject: Fix: X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=0e974c24c5452ebbc49ef9cc9d938d3330b083bb Fix: trunk/plugins/profinet/packet-pn-rt.c: In function ‘IsDFP_Frame’: trunk/plugins/profinet/packet-pn-rt.c:182:9: error: ‘u8SFCycleCounter’ undeclared (first use in this function) trunk/plugins/profinet/packet-pn-rt.c:182:9: note: each undeclared identifier is reported only once for each function it appears in git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40063 f5534014-38df-0310-8fa8-9805f1628bb7 --- diff --git a/plugins/profinet/packet-pn-rt.c b/plugins/profinet/packet-pn-rt.c index 0975da66ab..1fc8662e52 100644 --- a/plugins/profinet/packet-pn-rt.c +++ b/plugins/profinet/packet-pn-rt.c @@ -157,8 +157,6 @@ static gboolean IsDFP_Frame(tvbuff_t *tvb) guint16 u16SFCRC16; guint8 u8SFPosition; guint8 u8SFDataLength = 255; - guint8 u8SFCycleCounter = 0; - guint8 u8SFDataStatus; int offset = 0; guint32 u32SubStart; guint16 crc; @@ -181,11 +179,8 @@ static gboolean IsDFP_Frame(tvbuff_t *tvb) break; } - u8SFCycleCounter = tvb_get_guint8(tvb, offset); offset += 1; - u8SFDataStatus = tvb_get_guint8(tvb, offset); - offset += 1; offset += u8SFDataLength;