atomtimer.c: Prevent uninitialised var warning from over-zealous compiler.

This commit is contained in:
Kelvin Lawson
2015-03-02 11:29:05 +00:00
parent a41291df06
commit 18477010d0

View File

@@ -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