qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel][PATCH] Fix warning from sparse
@ 2008-11-30 14:18 Stefan Weil
  2008-11-30 16:26 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2008-11-30 14:18 UTC (permalink / raw)
  To: QEMU Developers

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

Signed-off-by: Stefan Weil <weil@mail.berlios.de>

Index: qemu-char.c
===================================================================
--- qemu-char.c (Revision 5818)
+++ qemu-char.c (Arbeitskopie)
@@ -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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-30 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-30 14:18 [Qemu-devel][PATCH] Fix warning from sparse Stefan Weil
2008-11-30 16:26 ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).