diff options
author | nicm <nicm> | 2020-04-09 13:52:31 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-09 13:52:31 +0000 |
commit | b96ac809018c461b55aed66459a68a71dd08047f (patch) | |
tree | e8a3ea7ce40ff18088c0113ee76d1c4f834b3999 /cmd-send-keys.c | |
parent | c4d0089edb802763619724e405ac2715542969d5 (diff) | |
download | rtmux-b96ac809018c461b55aed66459a68a71dd08047f.tar.gz rtmux-b96ac809018c461b55aed66459a68a71dd08047f.tar.bz2 rtmux-b96ac809018c461b55aed66459a68a71dd08047f.zip |
Some unnecessary assignments and unused variables.
Diffstat (limited to 'cmd-send-keys.c')
-rw-r--r-- | cmd-send-keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-send-keys.c b/cmd-send-keys.c index 5770572a..15967b0c 100644 --- a/cmd-send-keys.c +++ b/cmd-send-keys.c @@ -152,7 +152,7 @@ cmd_send_keys_exec(struct cmd *self, struct cmdq_item *item) return (CMD_RETURN_ERROR); } if (wme != NULL && (args_has(args, 'X') || args->argc == 0)) { - if (wme == NULL || wme->mode->command == NULL) { + if (wme->mode->command == NULL) { cmdq_error(item, "not in a mode"); return (CMD_RETURN_ERROR); } |