From 07d49acbf93709381430560f86e279a0af724462 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 21 Feb 2007 19:57:33 +0000 Subject: [PATCH] Simplify git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34469 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/ET-Forest.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/Analysis/ET-Forest.h b/include/llvm/Analysis/ET-Forest.h index 2c6726f9289..f41e1f59c9b 100644 --- a/include/llvm/Analysis/ET-Forest.h +++ b/include/llvm/Analysis/ET-Forest.h @@ -141,8 +141,7 @@ public: // removeFromForest() ~ETNode() { delete RightmostOcc; - if (ParentOcc) - delete ParentOcc; + delete ParentOcc; } void removeFromForest() {