Dead stores

This commit is contained in:
Geoff Nixon
2014-02-27 03:15:00 -08:00
parent 6d749789ce
commit ddcd2b0810
9 changed files with 3 additions and 25 deletions

View File

@@ -866,11 +866,7 @@ void write_screen(const wcstring &msg, wcstring &buff)
/*
If token is zero character long, we don't do anything
*/
if (pos == start)
{
start = pos = pos+1;
}
else if (overflow)
if (overflow)
{
/*
In case of overflow, we print a newline, except if we already are at position 0