From 5b67ecda792bd3a4905538f15c459a431328668e Mon Sep 17 00:00:00 2001 From: rlar Date: Tue, 31 Jul 2012 20:41:10 +0200 Subject: [PATCH] lexical #18/19, rewrite `cw' won't be looked at, thus the append + removal can be dropped `wl_word' is already NULL --- src/frontend/parser/lexical.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/frontend/parser/lexical.c b/src/frontend/parser/lexical.c index 029f89324..13be7e367 100644 --- a/src/frontend/parser/lexical.c +++ b/src/frontend/parser/lexical.c @@ -198,12 +198,9 @@ gotchar: newword; } if (cw) { - append(NULL); - cw->wl_prev->wl_next = NULL; - tfree(cw); + ; } else { append(NULL); - cw->wl_word = NULL; } goto done;