]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCAltroEmulator.cxx
- changes due to deletion of files
[u/mrichter/AliRoot.git] / TPC / AliTPCAltroEmulator.cxx
index 7b920304bbae3d8d8b54aa2f4db089b439a9251d..8b44b8f0d5da9b44996d14d68a4b3d74bf6715a2 100644 (file)
@@ -221,8 +221,10 @@ void AliTPCAltroEmulator::ConfigAltro(int ONBaselineCorrection1, int ONTailcance
   fOnBSL2 = InRange(ONBaselineCorrection2,0,1,"AliTPCAltroEmulator::ConfigAltro","ONBaselineCorrection2");
   fOnClip = InRange(ONClipping,0,1,"AliTPCAltroEmulator::ConfigAltro","ONClipping");
   fOnZSU = InRange(ONZerosuppression,0,1,"AliTPCAltroEmulator::ConfigAltro","ONZerosuppression");
-  ONDataFormatting; // does not have to be checked
   fConfiguredAltro = 1;
+  if (!fConfiguredAltro) { //dummy code to avoid warning
+    printf("%d\n",ONDataFormatting); // does not have to be checked
+  }
 }
 
 /**  @brief Configures the Base Line Correction 1 (BSL1) Module
@@ -923,7 +925,7 @@ int AliTPCAltroEmulator::InBand(int ADC,int bsl, int LowThreshold, int HighThres
     return 0;
 }
 
-int AliTPCAltroEmulator::InRange(int parameter,int Low,int High,char *Module,char *ParameterName){
+int AliTPCAltroEmulator::InRange(int parameter,int Low,int High,const char *Module,const char *ParameterName){
   //
   //
   //