summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-04-09 13:52:33 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-04-09 13:52:33 +0000
commit031ffaa1243878acb63f017e435a774655fa5b08 (patch)
tree154b20c37f941531b149f8573fdbe7eab74e95cb /usr.bin/tmux/client.c
parent08cbf972268ed30e723eb3162587b6c9c59a7911 (diff)
Some unnecessary assignments and unused variables.
Diffstat (limited to 'usr.bin/tmux/client.c')
-rw-r--r--usr.bin/tmux/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/client.c b/usr.bin/tmux/client.c
index 53a0ce59d35..71ec7358c1c 100644
--- a/usr.bin/tmux/client.c
+++ b/usr.bin/tmux/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.139 2020/03/30 15:49:23 nicm Exp $ */
+/* $OpenBSD: client.c,v 1.140 2020/04/09 13:52:32 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -644,7 +644,7 @@ client_read_open(void *data, size_t datalen)
struct msg_read_done reply;
struct client_file find, *cf;
const int flags = O_NONBLOCK|O_RDONLY;
- int error = 0;
+ int error;
if (datalen < sizeof *msg)
fatalx("bad MSG_READ_OPEN size");