Browse Source

maybe fix an "noreturn function does return" warning

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 9 years ago
parent
commit
db36600c29
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libpthread/nptl/forward.c

+ 1 - 0
libpthread/nptl/forward.c

@@ -160,5 +160,6 @@ FORWARD2(__pthread_unwind,
 		       /* We cannot call abort() here.  */
 		       INTERNAL_SYSCALL_DECL (err);
 		       INTERNAL_SYSCALL (kill, err, 1, SIGKILL);
+		       __builtin_unreachable();
 		     })
 #undef return