Commit f9487cb94ec1d392cfa97ef239e3c03fdf250ae1

Authored by aurel32
1 parent d72a19f7

Fix warning from sparse

Remove unnecessary declaration for errno (this fixes a warning from sparse)

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5833 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 1 deletions
qemu-char.c
... ... @@ -452,7 +452,6 @@ int send_all(int fd, const void *buf, int len1)
452 452 while (len > 0) {
453 453 ret = send(fd, buf, len, 0);
454 454 if (ret < 0) {
455   - int errno;
456 455 errno = WSAGetLastError();
457 456 if (errno != WSAEWOULDBLOCK) {
458 457 return -1;
... ...