1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 10:24:26 +01:00

avr: surpress compiler warning

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-09-03 22:15:38 +00:00
parent 29d722453d
commit 698a96e46b

View File

@ -95,7 +95,7 @@ static void set_leds(void)
static void update_state(unsigned char new_state, enum state_source source) static void update_state(unsigned char new_state, enum state_source source)
{ {
char ret; char ret = 0;
reset_timeout(); reset_timeout();
if (new_state == state) if (new_state == state)