qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6354] Squash warnings in console.c


From: Anthony Liguori
Subject: [Qemu-devel] [6354] Squash warnings in console.c
Date: Fri, 16 Jan 2009 21:06:21 +0000

Revision: 6354
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6354
Author:   aliguori
Date:     2009-01-16 21:06:20 +0000 (Fri, 16 Jan 2009)

Log Message:
-----------
Squash warnings in console.c

Signed-off-by: Anthony Liguori <address@hidden>

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

Modified: trunk/console.c
===================================================================
--- trunk/console.c     2009-01-16 21:01:48 UTC (rev 6353)
+++ trunk/console.c     2009-01-16 21:06:20 UTC (rev 6354)
@@ -1299,7 +1299,7 @@
     s = new_console(ds, (p == 0) ? TEXT_CONSOLE : TEXT_CONSOLE_FIXED_SIZE);
     if (!s) {
         free(chr);
-        return NULL;
+        return;
     }
     chr->opaque = s;
     chr->chr_write = console_puts;
@@ -1357,8 +1357,6 @@
     text_console_resize(s);
 
     qemu_chr_reset(chr);
-
-    return chr;
 }
 
 CharDriverState *text_console_init(const char *p)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]