fix(build): Modify function return type

Change return type of `sticky_key_timeout` function to `void` given it
does not return any value to remove compiler warnings.
This commit is contained in:
Thomas Huber 2024-03-27 14:16:34 -07:00 committed by Pete Johanson
parent e806cd6da1
commit 58ccc5970d

View File

@ -121,7 +121,7 @@ static inline int release_sticky_key_behavior(struct active_sticky_key *sticky_k
return behavior_keymap_binding_released(&binding, event);
}
static inline int on_sticky_key_timeout(struct active_sticky_key *sticky_key) {
static inline void on_sticky_key_timeout(struct active_sticky_key *sticky_key) {
// If the key is lazy, a release is not needed on timeout
if (sticky_key->config->lazy) {
clear_sticky_key(sticky_key);