summaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-09-27 18:07:30 +0000
committercorvid <corvid@lavabit.com>2009-09-27 18:07:30 +0000
commit8d566232aab6b5b31451572eea7a929485d8763b (patch)
tree36b0dae1a5232ff62c089cc18ef78315c98e6112 /dw
parent4fcd346b7ca220101be908467bb5fa3108ac94f8 (diff)
extraneous variable
Diffstat (limited to 'dw')
-rw-r--r--dw/textblock.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index feff008d..f045780b 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -331,7 +331,6 @@ void Textblock::sizeAllocateImpl (core::Allocation *allocation)
int xCursor;
core::Allocation childAllocation;
core::Allocation *oldChildAllocation;
- int wordInLine;
if (allocation->width != this->allocation.width) {
redrawY = 0;
@@ -341,7 +340,6 @@ void Textblock::sizeAllocateImpl (core::Allocation *allocation)
line = lines->getRef (lineIndex);
xCursor = lineXOffsetWidget (line);
- wordInLine = 0;
for (wordIndex = line->firstWord; wordIndex <= line->lastWord;
wordIndex++) {
word = words->getRef (wordIndex);
@@ -412,7 +410,6 @@ void Textblock::sizeAllocateImpl (core::Allocation *allocation)
break;
default:
- wordInLine++;
// make compiler happy
break;
}