beremiz
Clone
Summary
Browse
Changes
Graph
Fixed unused variable in plc_debug.c
2014-03-29, Edouard Tisserant
dd6d40094782
Parents
49441045b192
Children
d4a6c9287e97
Fixed unused variable in plc_debug.c
1 files changed, 1 insertions(+), 2 deletions(-)
+1
-2
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);