aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-opensafety.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-07-03 16:45:24 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-07-03 16:45:24 +0000
commit647bad86fdd0078808d198c8b100066619b97a39 (patch)
tree5ef4a24db2ba50c56451eaadabc6884f034a4411 /epan/dissectors/packet-opensafety.c
parentd8a21fe1dbbcb624250bbc6049dc3a8fa364d479 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=50363
Diffstat (limited to 'epan/dissectors/packet-opensafety.c')
-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 );