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 341c49d..dc21f75 100644 (file)
@@ -993,6 +993,8 @@ Int_t AliTRDcalibDB::GetOnlineGainTableID()
 
   }
 
+  return -1;
+
 }
 
 //_____________________________________________________________________________
index 8ca1249..502ae93 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++ ) {