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>
*** 23,32 ****
--- 23,36 ----
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
+ * Copyright 2019 Joyent, Inc.
+ */
+
+ /*
* Map file parsing, Version 2 syntax (solaris).
*/
#include <stdio.h>
#include <unistd.h>
#include <ctype.h>
*** 3316,3325 ****
ld_map_tokenstr(tok, &tkv, &inv_buf));
}
return (FALSE);
}
}
-
- /*NOTREACHED*/
- assert(0);
- return (FALSE);
}
--- 3320,3325 ----