diff options
author | nyamatongwe <unknown> | 2009-07-12 23:01:15 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-07-12 23:01:15 +0000 |
commit | 26c0795acabf1964ac9ba6dc7e212d58d9714c83 (patch) | |
tree | 6a8eb71edc5b0f713eac8704ff7fb63b1cf00afc /src/PositionCache.cxx | |
parent | ec9967718cd454c3966e968266e753ed069d51bd (diff) | |
download | scintilla-mirror-26c0795acabf1964ac9ba6dc7e212d58d9714c83.tar.gz |
Since exception handling now turned on, do not check return value from new.
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]; |