commands/bind.c: remove unnecessary check
This commit is contained in:
parent
55016729a5
commit
8b21bc6a79
|
@ -145,7 +145,7 @@ static struct cmd_results *identify_key(const char* name, bool first_key,
|
|||
cmd_results_new(CMD_INVALID, message);
|
||||
free(message);
|
||||
return error;
|
||||
} else if (!button) {
|
||||
} else {
|
||||
return cmd_results_new(CMD_INVALID, "Unknown button %s", name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue