qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [patch] compiler warning
@ 2005-03-20 18:43 Paul Brook
  2005-03-20 20:06 ` Paul Brook
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Brook @ 2005-03-20 18:43 UTC (permalink / raw)
  To: qemu-devel

The patch below fixes the following compiler warning:

cpu-exec.c:763: warning: control reaches end of non-void function

Paul

Index: cpu-exec.c
===================================================================
RCS file: /cvsroot/qemu/qemu/cpu-exec.c,v
retrieving revision 1.51
diff -u -p -r1.51 cpu-exec.c
--- cpu-exec.c 22 Feb 2005 19:27:14 -0000 1.51
+++ cpu-exec.c 20 Mar 2005 18:39:09 -0000
@@ -786,6 +791,8 @@ static inline int handle_cpu_signal(unsi
        do it (XXX: use sigsetjmp) */
     sigprocmask(SIG_SETMASK, old_set, NULL);
     cpu_loop_exit();
+    /* never comes here */
+    return 1;
 }
 #elif defined(TARGET_SPARC)
 static inline int handle_cpu_signal(unsigned long pc, unsigned long address,

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

end of thread, other threads:[~2005-03-20 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-20 18:43 [Qemu-devel] [patch] compiler warning Paul Brook
2005-03-20 20:06 ` Paul Brook

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