Actions
Development #1371
closedDevelopment #1353: Code cleanup for OCT19
Codecleanup: trd/rec/CbmTrdModuleRecR.cxx
Description
Compiler warnings:
/home/uhlig/cbm/release/oct19/trd/rec/CbmTrdModuleRecR.cxx: In member function 'virtual Int_t CbmTrdModuleRecR::FindClusters()': [CTest: warning matched] /home/uhlig/cbm/release/oct19/trd/rec/CbmTrdModuleRecR.cxx:149:13: warning: variable 'digiAddress' set but not used [-Wunused-but-set-variable] Int_t digiAddress = digi->GetAddress(); ^ /home/uhlig/cbm/release/oct19/trd/rec/CbmTrdModuleRecR.cxx: In member function 'void CbmTrdModuleRecR::addClusters(std::deque<std::pair<int, CbmTrdDigi*> >)': [CTest: warning matched] /home/uhlig/cbm/release/oct19/trd/rec/CbmTrdModuleRecR.cxx:384:9: warning: variable 'add' set but not used [-Wunused-but-set-variable] Int_t add=0; ^ /home/uhlig/cbm/release/oct19/trd/rec/CbmTrdModuleRecR.cxx: In member function 'virtual Int_t CbmTrdModuleRecR::FindClusters()': [CTest: warning matched] /home/uhlig/cbm/release/oct19/trd/rec/CbmTrdModuleRecR.cxx:278:87: warning: 'CoGrow' may be used uninitialized in this function [-Wmaybe-uninitialized] if(counterbot==3 && counterrow==3 && !addbot && TMath::Abs((CoGbot-CoGrow))< 0.25*CoGrow) {addbot=true;} ^
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