mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-19 09:52:06 +02:00
Nuke unused variables and fix stupid error message.
This commit is contained in:
@@ -56,7 +56,7 @@ cmd_move_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
kflag = data->chflags & CMD_CHFLAG('k');
|
||||
dflag = data->chflags & CMD_CHFLAG('d');
|
||||
if (server_link_window(wl, dst, idx, kflag, !dflag, &cause) != 0) {
|
||||
ctx->error(ctx, "can't create session: %s", cause);
|
||||
ctx->error(ctx, "can't move window: %s", cause);
|
||||
xfree(cause);
|
||||
return (-1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user