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>

@@ -20,10 +20,11 @@
  */
 
 /*
  * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2015 RackTop Systems.
+ * Copyright 2019 Joyent, Inc.
  */
 
 /*
  * This is the client layer for svc.configd.  All direct protocol interactions
  * are handled here.

@@ -1986,11 +1987,10 @@
                          */
                         return;
                 case EFAULT:
                 default:
                         bad_error("door_ucred", errno);
-                        return;
                 }
         }
         if (adt_start_session(&session, NULL, 0) != 0) {
                 syslog(LOG_ERR, gettext("start_audit_session(): could not "
                     "start audit session.\n"));