Print this page
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>

@@ -8,11 +8,11 @@
  * source.  A copy of the CDDL is also available via the Internet at
  * http://www.illumos.org/license/CDDL.
  */
 
 /*
- * Copyright 2017 Joyent, Inc.
+ * Copyright 2019 Joyent, Inc.
  */
 
 /*
  * Validate various C11 threads routines. Specifically we want to cover:
  *

@@ -170,11 +170,10 @@
 
 static int
 cthr_test_detach_thr0(void *arg)
 {
         thrd_exit(23);
-        abort();
 }
 
 static int
 cthr_test_detach_thr1(void *arg)
 {