Fix compiler warnings
(Stefan Weil) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4188 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
1654b2d6bf
commit
968c74da19
@ -882,6 +882,8 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
|
|||||||
do it (XXX: use sigsetjmp) */
|
do it (XXX: use sigsetjmp) */
|
||||||
sigprocmask(SIG_SETMASK, old_set, NULL);
|
sigprocmask(SIG_SETMASK, old_set, NULL);
|
||||||
cpu_loop_exit();
|
cpu_loop_exit();
|
||||||
|
/* never comes here */
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
#elif defined(TARGET_SPARC)
|
#elif defined(TARGET_SPARC)
|
||||||
static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
|
static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
|
||||||
@ -918,6 +920,8 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
|
|||||||
do it (XXX: use sigsetjmp) */
|
do it (XXX: use sigsetjmp) */
|
||||||
sigprocmask(SIG_SETMASK, old_set, NULL);
|
sigprocmask(SIG_SETMASK, old_set, NULL);
|
||||||
cpu_loop_exit();
|
cpu_loop_exit();
|
||||||
|
/* never comes here */
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
#elif defined (TARGET_PPC)
|
#elif defined (TARGET_PPC)
|
||||||
static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
|
static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
|
||||||
|
Loading…
Reference in New Issue
Block a user