[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [patch] compiler warning
From: |
Paul Brook |
Subject: |
[Qemu-devel] [patch] compiler warning |
Date: |
Sun, 20 Mar 2005 18:43:00 +0000 |
User-agent: |
KMail/1.7.2 |
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,
- [Qemu-devel] [patch] compiler warning,
Paul Brook <=