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>

@@ -12,10 +12,14 @@
 /*
  * Copyright 2010 Nexenta Systems, Inc.  All rights reserved.
  */
 
 /*
+ * Copyright 2019 Joyent, Inc.
+ */
+
+/*
  * od - octal dump.  Not really just octal anymore; read the POSIX
  * specification for it -- its more complex than you think!
  *
  * NB: We followed the POSIX semantics fairly strictly, where the
  * legacy code's behavior was in conflict.  In many cases the legacy

@@ -531,11 +535,10 @@
                         break;
 
                 default:
                         errx(1, _("unrecognized type string character: %c"),
                             *typestr);
-                        exit(1);
                 }
         }
 }
 
 int