Fixed unused variable in plc_debug.c
authorEdouard Tisserant
Sat, 29 Mar 2014 19:03:00 +0100
changeset 1403 dd6d40094782
parent 1402 49441045b192
child 1404 d4a6c9287e97
Fixed unused variable in plc_debug.c
targets/plc_debug.c
--- a/targets/plc_debug.c	Sat Mar 29 14:49:48 2014 +0100
+++ b/targets/plc_debug.c	Sat Mar 29 19:03:00 2014 +0100
@@ -291,8 +291,7 @@
 void FreeDebugData(void)
 {
     /* atomically mark buffer as free */
-    long latest_state;
-    latest_state = AtomicCompareExchange(
+    AtomicCompareExchange(
         &buffer_state,
         BUFFER_BUSY,
         BUFFER_FREE);