From 1b7996eb3920d707e0e93eb0e611356335dec4de Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 12 Jul 2009 23:31:36 +0000 Subject: Since now using exceptions, don't check result from new. --- src/CellBuffer.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/CellBuffer.cxx') 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; -- cgit v1.2.3