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 (c) 2019, Joyent, Inc.
+ * Copyright 2019 Joyent, Inc.
  */
 
 /*
  * merge CTF containers
  */

@@ -45,11 +45,11 @@
 #define CTFMERGE_USAGE  2
 
 #define CTFMERGE_DEFAULT_NTHREADS       8
 #define CTFMERGE_ALTEXEC        "CTFMERGE_ALTEXEC"
 
-static void
+static void __attribute__((__noreturn__))
 ctfmerge_fatal(const char *fmt, ...)
 {
         va_list ap;
 
         (void) fprintf(stderr, "%s: ", g_progname);