Skip to content
Browse files

Fix static analyzer error

  • Loading branch information...
1 parent 76e6134 commit 3d90bb6c4be8601713633ac419bd638982a0422f @BrianDoig committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 Core/Source/DTCoreTextLayoutFrame.m
View
4 Core/Source/DTCoreTextLayoutFrame.m
@@ -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);

0 comments on commit 3d90bb6

Please sign in to comment.
Something went wrong with that request. Please try again.