lexical #18/19, rewrite

`cw' won't be looked at, thus the append + removal can be dropped
  `wl_word' is already NULL
This commit is contained in:
rlar 2012-07-31 20:41:10 +02:00
parent f990e517b5
commit 5b67ecda79
1 changed files with 1 additions and 4 deletions

View File

@ -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;