Some unnecessary assignments and unused variables.

This commit is contained in:
nicm
2020-04-09 13:52:31 +00:00
parent c4d0089edb
commit b96ac80901
6 changed files with 7 additions and 12 deletions

View File

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