qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6354] Squash warnings in console.c
@ 2009-01-16 21:06 Anthony Liguori
  0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-01-16 21:06 UTC (permalink / raw)
  To: qemu-devel

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 <aliguori@us.ibm.com>

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-16 21:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 21:06 [Qemu-devel] [6354] Squash warnings in console.c Anthony Liguori

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