diff options
author | nyamatongwe <unknown> | 2009-07-12 23:31:36 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-07-12 23:31:36 +0000 |
commit | 290b272cdaf0c0f04d3536080f3918893e489094 (patch) | |
tree | c8fa0033ee165c14327614447d92ae00bcd79bfa /src/CellBuffer.cxx | |
parent | 26c0795acabf1964ac9ba6dc7e212d58d9714c83 (diff) | |
download | scintilla-mirror-290b272cdaf0c0f04d3536080f3918893e489094.tar.gz |
Since now using exceptions, don't check result from new.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 5385cccde..0868cf251 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -150,8 +150,6 @@ void UndoHistory::EnsureUndoRoom() { // Run out of undo nodes so extend the array int lenActionsNew = lenActions * 2; Action *actionsNew = new Action[lenActionsNew]; - if (!actionsNew) - return; for (int act = 0; act <= currentAction; act++) actionsNew[act].Grab(&actions[act]); delete []actions; |