summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-05-30 20:54:03 +0000
committernicm <nicm@openbsd.org>2019-05-30 20:54:03 +0000
commit10b50ca4d283b4432ab815690e6d51b1714d3229 (patch)
treef533b20da0064c9806e767559a9df338c82dc9c2 /usr.bin/tmux/input.c
parentA test for W|X ^ syscall prevention, which is difficult to incorporate (diff)
downloadwireguard-openbsd-10b50ca4d283b4432ab815690e6d51b1714d3229.tar.xz
wireguard-openbsd-10b50ca4d283b4432ab815690e6d51b1714d3229.zip
Remove a leftover abort and some fixes from cppcheck.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 76d2f7063ad..4918b2c03b4 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.154 2019/05/20 05:35:46 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.155 2019/05/30 20:54:03 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2409,7 +2409,6 @@ input_osc_52(struct input_ctx *ictx, const char *p)
outlen = 4 * ((len + 2) / 3) + 1;
out = xmalloc(outlen);
if ((outlen = b64_ntop(buf, len, out, outlen)) == -1) {
- abort();
free(out);
return;
}