diff options
Diffstat (limited to 'qemu-char.c')
-rw-r--r-- | qemu-char.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu-char.c b/qemu-char.c index d2335dd609..27cdd325a2 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -452,7 +452,6 @@ int send_all(int fd, const void *buf, int len1) while (len > 0) { ret = send(fd, buf, len, 0); if (ret < 0) { - int errno; errno = WSAGetLastError(); if (errno != WSAEWOULDBLOCK) { return -1; |