Commit 968c74da194ef5b9906fb7a708fbfb097c6e35a0

Authored by aurel32
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,6 +882,8 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
882 do it (XXX: use sigsetjmp) */ 882 do it (XXX: use sigsetjmp) */
883 sigprocmask(SIG_SETMASK, old_set, NULL); 883 sigprocmask(SIG_SETMASK, old_set, NULL);
884 cpu_loop_exit(); 884 cpu_loop_exit();
  885 + /* never comes here */
  886 + return 1;
885 } 887 }
886 #elif defined(TARGET_SPARC) 888 #elif defined(TARGET_SPARC)
887 static inline int handle_cpu_signal(unsigned long pc, unsigned long address, 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,6 +920,8 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
918 do it (XXX: use sigsetjmp) */ 920 do it (XXX: use sigsetjmp) */
919 sigprocmask(SIG_SETMASK, old_set, NULL); 921 sigprocmask(SIG_SETMASK, old_set, NULL);
920 cpu_loop_exit(); 922 cpu_loop_exit();
  923 + /* never comes here */
  924 + return 1;
921 } 925 }
922 #elif defined (TARGET_PPC) 926 #elif defined (TARGET_PPC)
923 static inline int handle_cpu_signal(unsigned long pc, unsigned long address, 927 static inline int handle_cpu_signal(unsigned long pc, unsigned long address,