From 18477010d02186077048cc3df4556f859dc7dd38 Mon Sep 17 00:00:00 2001 From: Kelvin Lawson Date: Mon, 2 Mar 2015 11:29:05 +0000 Subject: [PATCH] atomtimer.c: Prevent uninitialised var warning from over-zealous compiler. --- kernel/atomtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/atomtimer.c b/kernel/atomtimer.c index 5a89890..8f85c46 100755 --- a/kernel/atomtimer.c +++ b/kernel/atomtimer.c @@ -409,7 +409,7 @@ uint8_t atomTimerDelay (uint32_t ticks) static void atomTimerCallbacks (void) { ATOM_TIMER *prev_ptr, *next_ptr, *saved_next_ptr; - ATOM_TIMER *callback_list_tail, *callback_list_head = NULL; + ATOM_TIMER *callback_list_tail = NULL, *callback_list_head = NULL; /* * Walk the list decrementing each timer's remaining ticks count and