forked from osmocom/wireshark
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
This commit is contained in:
parent
8d8a139ca1
commit
0e974c24c5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue