New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleaning static analyzer warnings #13585
Conversation
A new Pull Request was created by @tmrhombus (T.M.Perry) for CMSSW_8_1_X. It involves the following packages: RecoJets/JetAnalyzers @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
} catch (...) { | ||
cout << "No HO RecHits." << endl; | ||
} | ||
****/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this (HORecHitCollection loop) commented out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I commented it out because the only thing it did was loop. There was a cout stamement that this loop could have engaged, but that was already commented out in the code as I found it. The code was effectively:
for(i in collection){
// cout<<"we have the collection"<<endl;
}
I went the step further to say that there is no point in looping.
@cmsbuild please test |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
cleaning static analyzer warnings
No description provided.