more warning clean up

This commit is contained in:
hathach 2014-03-14 15:16:45 +07:00
parent 0757d2eb6c
commit f28746f28a
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ static inline uint32_t osal_tick_get(void)
#define OSAL_TASK_LOOP_BEGIN \
ATTR_UNUSED static uint32_t timeout = 0;\
static uint16_t state = 0;\
(void) timeout; /* timemout can possible unsued */ \
switch(state) { \
case 0: { \