Fix compiler warnings
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jun 2010 12:55:44 +0000 (12:55 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jun 2010 12:55:44 +0000 (12:55 +0000)
TRD/AliTRDCalibViewer.cxx
TRD/AliTRDCalibViewerGUI.cxx

index c208787..d2296a0 100644 (file)
@@ -1356,11 +1356,11 @@ void AliTRDCalibViewer::DumpCalibToTree(const Char_t* inFilename, const Char_t*
           Double_t rocMedian=0;
           
           if (calROC){
-            Int_t index = 0;
+            Int_t index2 = 0;
             for(Short_t iRow=0; iRow<nrows; iRow++) {
               for(Short_t iCol=0; iCol<ncols; iCol++) {
-                valueVector->GetMatrixArray()[index] = calROC->GetValue(iCol,iRow);
-                index++;
+                valueVector->GetMatrixArray()[index2] = calROC->GetValue(iCol,iRow);
+                index2++;
               }
             }
             rocMean   = calROC->GetMean();
index fc31965..0d09dd0 100644 (file)
@@ -671,7 +671,7 @@ void AliTRDCalibViewerGUI::MouseMove(Int_t event, Int_t x, Int_t y, TObject *sel
     return;
   if(!selectedObject->InheritsFrom("TH2")) return;
 
-  Int_t layerNo = (Int_t)(fNmbLayer->GetNumber());
+  //Int_t layerNo = (Int_t)(fNmbLayer->GetNumber());
   Int_t sectorNo = (Int_t)(fNmbSector->GetNumber());
   Int_t stackNo = (Int_t)(fNmbStack->GetNumber());