summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2022-07-06 08:32:29 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2022-07-06 08:32:29 +0000
commit6431d53e513f94080b631f47fe69e6b55adc239b (patch)
tree90726b3be377e5834fe90c69ec9d057aacd7c823
parentcdacb48181f7efef7cc3e4fe2367570c0da594a6 (diff)
Remove debugging code.
-rw-r--r--usr.bin/tmux/cmd-find.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-find.c b/usr.bin/tmux/cmd-find.c
index 25c430e116b..1e5a26a4b3f 100644
--- a/usr.bin/tmux/cmd-find.c
+++ b/usr.bin/tmux/cmd-find.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-find.c,v 1.80 2022/07/06 08:31:59 nicm Exp $ */
+/* $OpenBSD: cmd-find.c,v 1.81 2022/07/06 08:32:28 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1265,7 +1265,7 @@ cmd_find_current_client(struct cmdq_item *item, int quiet)
found = cmd_find_best_client(s);
}
if (found == NULL && item != NULL && !quiet)
- abort();//cmdq_error(item, "no current client");
+ cmdq_error(item, "no current client");
log_debug("%s: no target, return %p", __func__, found);
return (found);
}