Coverity
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Feb 2011 11:31:31 +0000 (11:31 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Feb 2011 11:31:31 +0000 (11:31 +0000)
EVE/EveDet/AliEveListAnalyser.cxx

index b76d770..cfda70d 100644 (file)
@@ -1229,18 +1229,14 @@ AliEveListAnalyser::AliEveListAnalyserMacroType AliEveListAnalyser::GetMacroType
     delete mangledArg2Str;
     mangledArg2Str = 0;
   }
     delete mangledArg2Str;
     mangledArg2Str = 0;
   }
-  if (typeStr != 0)
-  {
-    typeStr->Clear();
-    delete typeStr;
-    typeStr = 0;
-  }
-  if (typeStr2 != 0)
-  {
-    typeStr2->Clear();
-    delete typeStr2;
-    typeStr2 = 0;
-  }
+
+  typeStr->Clear();
+  delete typeStr;
+  typeStr = 0;
+
+  typeStr2->Clear();
+  delete typeStr2;
+  typeStr2 = 0;
 
 
   return type;
 
 
   return type;