From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DD5e3-0008Bm-7u for qemu-devel@nongnu.org; Sun, 20 Mar 2005 13:59:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DD5dy-00089v-UN for qemu-devel@nongnu.org; Sun, 20 Mar 2005 13:59:25 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DD5dy-00089Y-IP for qemu-devel@nongnu.org; Sun, 20 Mar 2005 13:59:22 -0500 Received: from [65.74.133.9] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DD5OD-0006pz-EB for qemu-devel@nongnu.org; Sun, 20 Mar 2005 13:43:05 -0500 From: Paul Brook Date: Sun, 20 Mar 2005 18:43:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503201843.01155.paul@codesourcery.com> Subject: [Qemu-devel] [patch] compiler warning Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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,