Fix coverity defects
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 6 Aug 2011 10:50:40 +0000 (10:50 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 6 Aug 2011 10:50:40 +0000 (10:50 +0000)
TRD/AliTRDcalibDB.cxx
TRD/AliTRDdigitizer.cxx

index 341c49db297b09719318efd97dfc4ed8b701774f..dc21f754b0efd314fb6e2e32c4e443a5e605905c 100644 (file)
@@ -993,6 +993,8 @@ Int_t AliTRDcalibDB::GetOnlineGainTableID()
 
   }
 
+  return -1;
+
 }
 
 //_____________________________________________________________________________
index 8ca1249e15e6c485f87d5cf688e935680bb1f27e..502ae93ed7ce1dce98c3eae1c1b20be2755a93f7 100644 (file)
@@ -1282,8 +1282,8 @@ Bool_t AliTRDdigitizer::Signal2ADC(Int_t det, AliTRDarraySignal *signals)
   calGainFactorDetValue = calGainFactorDet->GetValue(det);
 
   // Get the online gain factors
-  AliTRDCalOnlineGainTableROC *onlineGainFactorROC 
-    = calibration->GetOnlineGainTableROC(det);
+  //AliTRDCalOnlineGainTableROC *onlineGainFactorROC 
+  //  = calibration->GetOnlineGainTableROC(det);
 
   // Create the digits for this chamber
   for (row  = 0; row  <  nRowMax; row++ ) {