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>

*** 26,36 **** * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* ! * Copyright (c) 2013, Joyent, Inc. All rights reserved. */ /* * Map file parsing (Shared Support Code). */ --- 26,36 ---- * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* ! * Copyright 2019 Joyent, Inc. */ /* * Map file parsing (Shared Support Code). */
*** 82,93 **** if (strcasecmp(name, arr_name) == 0) return (array); } /*NOTREACHED*/ - assert(0); - return (NULL); } #endif /* * Given the same NULL terminated array accepted by ld_map_kwfind(), format --- 82,91 ----