Actions
Development #1373
closedDevelopment #1353: Code cleanup for OCT19
Code cleanup: trd/sim/CbmTrdModuleSimR.cxx
Description
Compiler warnings:
/home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx: In member function 'Int_t CbmTrdModuleSimR::GetMultiBin(std::vector<int>)': [CTest: warning matched] /home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx:662:10: warning: variable 'multihit' set but not used [-Wunused-but-set-variable] Bool_t multihit=false; ^ /home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx: In member function 'void CbmTrdModuleSimR::ScanPadPlane(const Double_t*, Double_t, Double_t, Double_t, Int_t, Int_t)': [CTest: warning matched] /home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx:908:11: warning: variable 'maxCol' set but not used [-Wunused-but-set-variable] Int_t maxCol(5/W+0.5), maxRow(6);//5/H+3);// 7 and 3 in orig. minimum 5 times 5 cm area has to be scanned ^ /home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx: In member function 'Int_t CbmTrdModuleSimR::AddCrosstalk(Double_t, Int_t, Int_t, Int_t, Int_t, Int_t)': [CTest: warning matched] /home/uhlig/cbm/release/oct19/trd/sim/CbmTrdModuleSimR.cxx:1264:13: warning: variable 'FNaddress' set but not used [-Wunused-but-set-variable] Int_t FNaddress=0; ^
Please fix.
Updated by Volker Friese almost 3 years ago
- Status changed from Assigned to Closed
Thanks.
In future commits, please include "Refs #[issue_nr]" to the commit message; the commit is then automatically linked to the issue.
Actions