aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-opensafety.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-opensafety.c b/epan/dissectors/packet-opensafety.c
index c219578c50..4c6e636ce5 100644
--- a/epan/dissectors/packet-opensafety.c
+++ b/epan/dissectors/packet-opensafety.c
@@ -770,7 +770,6 @@ static guint8 findSafetyFrame ( tvbuff_t * message_tvb, guint u_Offset, gboolean
if ( ( ( b_ID >> 4 ) != 0x09 ) && ( ( b_ID >> 4 ) != 0x0F ) )
{
/* Find CRC position and calculate checksum */
- calcCrc = 0;
crc = tvb_get_guint8(message_tvb, ctr + 3 + b_Length );
bytes = (guint8 *)ep_tvb_memdup(message_tvb, ctr - 1, b_Length + 5 );