From 348dc2d7d1fd2b0e5caa10f00b1225c489757916 Mon Sep 17 00:00:00 2001 From: rlar Date: Tue, 31 Jul 2012 20:39:10 +0200 Subject: [PATCH] lexical #4/19, the `else' can take that job (unconditionally) --- src/frontend/parser/lexical.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/frontend/parser/lexical.c b/src/frontend/parser/lexical.c index b9d77df29..e112f1b08 100644 --- a/src/frontend/parser/lexical.c +++ b/src/frontend/parser/lexical.c @@ -193,18 +193,13 @@ gotchar: // they won't be accessed any more (see `goto done') bzero(buf, NEW_BSIZE_SP); i = 0; - // cw->wl_prev is the recent cw - // thus this wl_next has been NULL per assumtion vrom above - cw->wl_prev->wl_next = NULL; - tfree(cw); - } else { + } if (cw->wl_prev) { cw->wl_prev->wl_next = NULL; tfree(cw); } else { cw->wl_word = NULL; } - } goto done; case '\'':