diff options
author | Jason Nader <jason.nader@protonmail.com> | 2020-03-15 17:11:33 +0900 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-03-15 14:30:05 +0100 |
commit | 8b21bc6a7905e3386ad62e7b7a3f0936ecbca167 (patch) | |
tree | 1c9396d4c43b9a0e6d57eb341a7ca7b9636c6bf8 /sway/commands | |
parent | 55016729a573a171a0faa20e0dec44e703da2c45 (diff) |
commands/bind.c: remove unnecessary check
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/bind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c index 0ddee742..c86c39dd 100644 --- a/sway/commands/bind.c +++ b/sway/commands/bind.c @@ -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); } } |