Skip to content

Commit

Permalink
events: remove -Wall compiler warning
Browse files Browse the repository at this point in the history
events.c:124:3: error: control reaches end of non-void function
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wreturn-type
  • Loading branch information
LucasFA committed Jan 6, 2025
1 parent 6305ec3 commit 43e0835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static void emit_keyboard_led_hw_changed(void)
up_read(&leds_list_lock);
}
#else
static inline emit_keyboard_led_hw_changed(void)
static inline void emit_keyboard_led_hw_changed(void)
{ }
#endif

Expand Down

0 comments on commit 43e0835

Please sign in to comment.