aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.cpp
diff options
context:
space:
mode:
authorGravatar Geoff Nixon <geoff.nixon@aol.com>2014-02-27 03:15:00 -0800
committerGravatar Geoff Nixon <geoff.nixon@aol.com>2014-02-27 06:23:40 -0800
commitddcd2b0810087394d17bd80c46d74cca0acd8924 (patch)
tree575f58142aca93fd46ffb9c4bec18c388a7a42ce /common.cpp
parent6d749789ce240a3e6f1447777db63fd8e7525560 (diff)
Dead stores
Diffstat (limited to 'common.cpp')
-rw-r--r--common.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/common.cpp b/common.cpp
index 08e8d7a1..7434c31d 100644
--- a/common.cpp
+++ b/common.cpp
@@ -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