ref: bf98a2d447a80ce0234b1b1d6db4232e2b4bbe4c
parent: 779bc03ea6bffa543c52a02e6d87e600b0417066
author: Ori Bernstein <[email protected]>
date: Tue Sep 23 09:23:37 EDT 2014
Shut up Clang's static analyzer a bit. Remove dead store, assert e != null
--- a/6/simp.c
+++ b/6/simp.c
@@ -1773,6 +1773,7 @@
{
size_t i;
+ assert(e != NULL);
switch (exprop(e)) {
case Oslice:
if (exprop(e->expr.args[0]) == Oarr)
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -135,7 +135,6 @@
while (1) {
c = peek();
if (!ignorenl && c == '\n') {
- ignorenl = 0;
break;
} else if (c == '\\') {
ignorenl = 1;