Fixing DEADCODE defect reported by Coverity
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 6 Nov 2010 13:18:26 +0000 (13:18 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 6 Nov 2010 13:18:26 +0000 (13:18 +0000)
MUON/mapping/AliMpPCB.cxx

index 13441a9..83fd8c6 100644 (file)
@@ -693,14 +693,7 @@ AliMpPCB::Print(Option_t* option) const
   {
     for ( Int_t i = 0; i < fMotifPositions.GetEntriesFast(); ++i )
     {
-      if (option)
-           {
-             fMotifPositions[i]->Print(option+1);
-           }
-      else
-           {
-             fMotifPositions[i]->Print();
-           }
+       fMotifPositions[i]->Print(option+1);
     }
   }
 }