coverity+coding violations, Rachid
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Mar 2011 19:20:55 +0000 (19:20 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Mar 2011 19:20:55 +0000 (19:20 +0000)
EMCAL/AliEMCALTriggerRawDigit.cxx

index e11cb81..916c6f9 100644 (file)
@@ -103,12 +103,6 @@ Bool_t AliEMCALTriggerRawDigit::GetL0Time(const Int_t i, Int_t& time) const
 Bool_t AliEMCALTriggerRawDigit::GetL0Times(Int_t times[]) const
 {
        //
-       if (sizeof(times) < (sizeof(Int_t) * fNL0Times))
-       {
-               AliError("Array size too small!");
-               return kFALSE;
-       }
-       
        for (Int_t i = 0; i < fNL0Times; i++) times[i] = fL0Times[i];
        
        return kTRUE;