summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-09 13:52:31 +0000
committernicm <nicm>2020-04-09 13:52:31 +0000
commitb96ac809018c461b55aed66459a68a71dd08047f (patch)
treee8a3ea7ce40ff18088c0113ee76d1c4f834b3999 /client.c
parentc4d0089edb802763619724e405ac2715542969d5 (diff)
Some unnecessary assignments and unused variables.
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 37da9c67..5aae8d0d 100644
--- a/client.c
+++ b/client.c
@@ -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");