Fix static analyzer error #176

Merged
merged 2 commits into from Apr 24, 2012
@@ -154,7 +154,7 @@ - (void)_buildLinesWithTypesetter
paragraphMetrics previousParaMetrics = {0,0,0};
lineMetrics currentLineMetrics;
- lineMetrics previousLineMetrics;
+// lineMetrics previousLineMetrics;
DTTextBlock *currentTextBlock = nil;
DTTextBlock *previousTextBlock = nil;
@@ -413,7 +413,7 @@ - (void)_buildLinesWithTypesetter
lineRange.location += lineRange.length;
previousLine = newLine;
- previousLineMetrics = currentLineMetrics;
+ //previousLineMetrics = currentLineMetrics;
}
while (lineRange.location < maxIndex);