Commit 968c74da194ef5b9906fb7a708fbfb097c6e35a0
1 parent
1654b2d6
Fix compiler warnings
(Stefan Weil) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4188 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
0 deletions
cpu-exec.c
| ... | ... | @@ -882,6 +882,8 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address, |
| 882 | 882 | do it (XXX: use sigsetjmp) */ |
| 883 | 883 | sigprocmask(SIG_SETMASK, old_set, NULL); |
| 884 | 884 | cpu_loop_exit(); |
| 885 | + /* never comes here */ | |
| 886 | + return 1; | |
| 885 | 887 | } |
| 886 | 888 | #elif defined(TARGET_SPARC) |
| 887 | 889 | 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, |
| 918 | 920 | do it (XXX: use sigsetjmp) */ |
| 919 | 921 | sigprocmask(SIG_SETMASK, old_set, NULL); |
| 920 | 922 | cpu_loop_exit(); |
| 923 | + /* never comes here */ | |
| 924 | + return 1; | |
| 921 | 925 | } |
| 922 | 926 | #elif defined (TARGET_PPC) |
| 923 | 927 | static inline int handle_cpu_signal(unsigned long pc, unsigned long address, | ... | ... |