Fix warning from sparse
PATCH 1/1 Fix warning from sparse
Remove unnecessary declaration for errno (this fixes a warning from sparse)
Signed-off-by Stefan Weil <[email protected]>
qemu-char.c (Arbeitskopie) renamed from qemu-char.c (Revision 5818) +0 -1
@@ -452,7 +452,6 @@ while (len > 0) { ret = send(fd, buf, len, 0); if (ret < 0) { - int errno; errno = WSAGetLastError(); if (errno != WSAEWOULDBLOCK) { return -1;
Aurelien Jarno
AppliedQuoted 3 lines · Stefan Weil
Remove unnecessary declaration for errno (this fixes a warning from sparse)
Signed-off-by Stefan Weil <[email protected]>
Thanks, applied.
Quoted 16 lines
Index:
qemu-char.c
===================================================================qemu-char.c (Arbeitskopie) renamed from qemu-char.c (Revision 5818) +0
-1@@ -452,7 +452,6 @@ while (len > 0) { ret = send(fd, buf, len, 0); if (ret < 0) { - int errno; errno = WSAGetLastError(); if (errno != WSAEWOULDBLOCK) { return -1;
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net