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,10 +23,14 @@
* 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,10 +3320,6 @@
ld_map_tokenstr(tok, &tkv, &inv_buf));
}
return (FALSE);
}
}
-
- /*NOTREACHED*/
- assert(0);
- return (FALSE);
}