diff options
author | nyamatongwe <unknown> | 2013-01-26 13:23:18 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-01-26 13:23:18 +1100 |
commit | d9f8c1dd61123543728dd3a39b18dc71ff465a82 (patch) | |
tree | 037327e8edb25fcf53e2b83424a9e25eef6e9d2e /src | |
parent | ccdea98d43545c473fbdece4698156aa88a9d1b6 (diff) | |
download | scintilla-mirror-d9f8c1dd61123543728dd3a39b18dc71ff465a82.tar.gz |
Fixed unused value warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/CellBuffer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 7bb96ca76..872616c21 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -531,9 +531,8 @@ void CellBuffer::ResetLineEnds() { lv.InsertText(lineInsert-1, length); unsigned char chBeforePrev = 0; unsigned char chPrev = 0; - unsigned char ch = ' '; for (int i = 0; i < length; i++) { - ch = substance.ValueAt(position + i); + unsigned char ch = substance.ValueAt(position + i); if (ch == '\r') { InsertLine(lineInsert, (position + i) + 1, atLineStart); lineInsert++; |