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>

*** 18,27 **** --- 18,31 ---- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ + /* + * Copyright 2019 Joyent, Inc. + */ + #include <sys/param.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> #include <sys/un.h>
*** 112,123 **** fprintf(stderr, "%s - thread create fail %s\n", __progname, strerror(errno)); exit(1); } } - - exit(0); } /* * This should be a place only root is allowed to write. * The test will create and destroy this directory. --- 116,125 ----