Skip to content

Commit

Permalink
Fix warning from sparse
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aurel32 committed Nov 30, 2008
1 parent d72a19f commit f9487cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion qemu-char.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f9487cb

Please sign in to comment.