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>

*** 21,30 **** --- 21,34 ---- /* * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. */ + /* + * Copyright 2019 Joyent, Inc. + */ + #include <sys/types.h> #include <stddef.h> #include <stdlib.h> #include <string.h>
*** 59,72 **** "ABORT: \"%s\", line %d: assertion failed: %s\n", file, line, expr); (void) write(STDERR_FILENO, msg, strlen(msg)); abort(); - _exit(1); - /*NOTREACHED*/ - return (0); } int smp_set_errno(smp_errno_t err) { --- 63,73 ----