diff options
author | Aaron Gyes <me@aaron.gy> | 2016-06-14 19:21:50 -0700 |
---|---|---|
committer | Aaron Gyes <me@aaron.gy> | 2016-06-14 19:27:00 -0700 |
commit | 9f0c31611c189b7685cd5a818330ce36a9774eeb (patch) | |
tree | ef3d7e170b95e09cfdb279f5c3971654a07bef49 /src/common.cpp | |
parent | d70be18c4255829b3b6bc3d71b791740a9bba6ac (diff) |
Lint Cleanup
This remove some stores that clang assures me are very dead.
And an assert() for an unlikely NULL pointer dereference I can't quite
figure out.
Diffstat (limited to 'src/common.cpp')
-rw-r--r-- | src/common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.cpp b/src/common.cpp index 49f53fb5..fcbb2465 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -749,7 +749,7 @@ wcstring reformat_for_screen(const wcstring &msg) { // If token is zero character long, we don't do anything. if (pos == start) { - start = pos = pos + 1; + pos = pos + 1; } else if (overflow) { // In case of overflow, we print a newline, except if we already are at position 0. wchar_t *token = wcsndup(start, pos - start); |