Nuke unused variables and fix stupid error message.

This commit is contained in:
Nicholas Marriott
2009-09-20 17:31:26 +00:00
parent 9b5f5ed8e8
commit 105ce36792
3 changed files with 2 additions and 5 deletions

View File

@@ -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);
}