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,10 +21,14 @@
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
*/
+/*
+ * Copyright 2019 Joyent, Inc.
+ */
+
#include <sys/types.h>
#include <sys/scsi/generic/commands.h>
#include <sys/scsi/impl/spc3_types.h>
#include <stddef.h>
@@ -54,14 +58,11 @@
"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
libscsi_set_errno(libscsi_hdl_t *hp, libscsi_errno_t err)
{