qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5361] Few compile time warnings removed (Stefano Stabellini)
@ 2008-09-30 18:12 Blue Swirl
  2008-10-01 10:04 ` Stefano Stabellini
  0 siblings, 1 reply; 2+ messages in thread
From: Blue Swirl @ 2008-09-30 18:12 UTC (permalink / raw)
  To: qemu-devel

Revision: 5361
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5361
Author:   blueswir1
Date:     2008-09-30 18:12:18 +0000 (Tue, 30 Sep 2008)

Log Message:
-----------
Few compile time warnings removed (Stefano Stabellini)

Modified Paths:
--------------
    trunk/vl.c

Modified: trunk/vl.c
===================================================================
--- trunk/vl.c	2008-09-30 06:45:44 UTC (rev 5360)
+++ trunk/vl.c	2008-09-30 18:12:18 UTC (rev 5361)
@@ -71,7 +71,7 @@
 #elif defined (__GLIBC__) && defined (__FreeBSD_kernel__)
 #include <freebsd/stdlib.h>
 #else
-#ifndef __sun__
+#ifdef __linux__
 #include <linux/if.h>
 #include <linux/if_tun.h>
 #include <pty.h>
@@ -85,7 +85,8 @@
 
 #include <linux/ppdev.h>
 #include <linux/parport.h>
-#else
+#endif
+#ifdef __sun__
 #include <sys/stat.h>
 #include <sys/ethernet.h>
 #include <sys/sockio.h>
@@ -1680,7 +1681,7 @@
 
 static void init_timer_alarm(void)
 {
-    struct qemu_alarm_timer *t;
+    struct qemu_alarm_timer *t = NULL;
     int i, err = -1;
 
     for (i = 0; alarm_timers[i].name; i++) {

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

* Re: [Qemu-devel] [5361] Few compile time warnings removed (Stefano Stabellini)
  2008-09-30 18:12 [Qemu-devel] [5361] Few compile time warnings removed (Stefano Stabellini) Blue Swirl
@ 2008-10-01 10:04 ` Stefano Stabellini
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Stabellini @ 2008-10-01 10:04 UTC (permalink / raw)
  To: qemu-devel

Blue Swirl wrote:

> Revision: 5361
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5361
> Author:   blueswir1
> Date:     2008-09-30 18:12:18 +0000 (Tue, 30 Sep 2008)
> 
> Log Message:
> -----------
> Few compile time warnings removed (Stefano Stabellini)
> 

thank you very much.

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

end of thread, other threads:[~2008-10-01 10:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-30 18:12 [Qemu-devel] [5361] Few compile time warnings removed (Stefano Stabellini) Blue Swirl
2008-10-01 10:04 ` Stefano Stabellini

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).