Przeglądaj źródła

maybe fix an "noreturn function does return" warning

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 9 lat temu
rodzic
commit
db36600c29
1 zmienionych plików z 1 dodań i 0 usunięć
  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