diff options
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r-- | src/PositionCache.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index 42f5fa3f3..d3e19d4f4 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -131,8 +131,6 @@ void LineLayout::SetLineStart(int line, int start) { if ((line >= lenLineStarts) && (line != 0)) { int newMaxLines = line + 20; int *newLineStarts = new int[newMaxLines]; - if (!newLineStarts) - return; for (int i = 0; i < newMaxLines; i++) { if (i < lenLineStarts) newLineStarts[i] = lineStarts[i]; |