diff options
| author | John Levon <john.levon@joyent.com> | 2019-08-15 02:34:17 -0700 |
|---|---|---|
| committer | John Levon <john.levon@joyent.com> | 2019-08-21 00:48:36 -0700 |
| commit | 44bf619d328827ce5eca6833fcd5c69f1592e578 (patch) | |
| tree | 9ad4659713906427323f35a72759a16fbc94762d /usr/src/test/libc-tests/tests | |
| parent | a99cb9618990662acbd3bab1b4a5b05a6ca62556 (diff) | |
| download | illumos-joyent-44bf619d328827ce5eca6833fcd5c69f1592e578.tar.gz | |
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/test/libc-tests/tests')
| -rw-r--r-- | usr/src/test/libc-tests/tests/Makefile | 4 | ||||
| -rw-r--r-- | usr/src/test/libc-tests/tests/c11_threads.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/test/libc-tests/tests/Makefile b/usr/src/test/libc-tests/tests/Makefile index d22d33f613..f746498b0c 100644 --- a/usr/src/test/libc-tests/tests/Makefile +++ b/usr/src/test/libc-tests/tests/Makefile @@ -12,7 +12,7 @@ # # Copyright (c) 2012 by Delphix. All rights reserved. # Copyright 2015 Garrett D'Amore <garrett@damore.org> -# Copyright (c) 2018, Joyent, Inc. +# Copyright 2019 Joyent, Inc. # SUBDIRS = \ @@ -58,7 +58,7 @@ SCRIPTS = \ CPPFLAGS += -D_REENTRANT # needs work -SMOFF += all_func_returns,snprintf_overflow +SMOFF += all_func_returns,snprintf_overflow,unreachable PROGS32 = $(PROGS:%=%.32) PROGS64 = \ diff --git a/usr/src/test/libc-tests/tests/c11_threads.c b/usr/src/test/libc-tests/tests/c11_threads.c index 2f96bcbd89..4504a9c262 100644 --- a/usr/src/test/libc-tests/tests/c11_threads.c +++ b/usr/src/test/libc-tests/tests/c11_threads.c @@ -10,7 +10,7 @@ */ /* - * Copyright 2017 Joyent, Inc. + * Copyright 2019 Joyent, Inc. */ /* @@ -172,7 +172,6 @@ static int cthr_test_detach_thr0(void *arg) { thrd_exit(23); - abort(); } static int |
