From 0f6e6b9acbdfe9dd144bc04325ba4c8186da23e5 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 3 Aug 2016 10:53:26 +0200 Subject: [PATCH] FIX: coverity scan 133859 structually dead code, looks like this is a rest from and old loop. I just removed it. --- armsrc/legicrf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/armsrc/legicrf.c b/armsrc/legicrf.c index 0f886656..c48aa0bc 100644 --- a/armsrc/legicrf.c +++ b/armsrc/legicrf.c @@ -669,11 +669,8 @@ void LegicRfRawWriter(int offset, int byte) { LED_B_OFF(); LED_C_OFF(); return; - - WDT_HIT(); - byte_index++; - if(byte_index & 0x10) LED_C_ON(); else LED_C_OFF(); } + LED_B_OFF(); LED_C_OFF(); DbpString("write successful"); -- 2.39.5