diff --git a/examples/batched-read-write.c b/examples/batched-read-write.c index 888f4b6..79cb5ab 100644 --- a/examples/batched-read-write.c +++ b/examples/batched-read-write.c @@ -47,7 +47,7 @@ try_deadlock (void *arg) { struct pollfd fds[1]; struct nbd_connection *conn; - size_t i, j; + size_t j; int64_t handles[2]; size_t in_flight; /* counts number of requests in flight */ int dir, r; @@ -130,7 +130,6 @@ try_deadlock (void *arg) int main (int argc, char *argv[]) { - int err; int64_t exportsize; if (argc < 2 || argc > 3) {