Skip to content
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

Clean up ElectroWeakAnalysis (GCC 6) #13632

Merged
merged 2 commits into from Mar 7, 2016

Conversation

davidlt
Copy link
Contributor

@davidlt davidlt commented Mar 7, 2016

Look for more details in commit messages. The changes are general and not specific to GCC (or it's version) in any way.

David Abdurachmanov added 2 commits March 7, 2016 19:11
Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Compilers can always assume that comparing reference to 0/NULL/nullptr
is always false. Reference is not a pointer. I believe, instead author
wanted to check if there are any items in the collection.

The following errors are reported by GCC (6.0.0, r233941):

    ElectroWeakAnalysis/ZMuMu/plugins/MuTriggerAnalyzer.cc:184:12: error: the compiler can assume that the address of 'toc' will never be NULL [-Werror=address]
    ElectroWeakAnalysis/ZMuMu/plugins/ZGoldenFilter.cc:116:15: error: the compiler can assume that the address of 'toc' will never be NULL [-Werror=address]

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2016

A new Pull Request was created by @davidlt for CMSSW_8_1_X.

It involves the following packages:

ElectroWeakAnalysis/Utilities
ElectroWeakAnalysis/ZMuMu

@cmsbuild, @vadler, @davidlange6, @monttj can you please review it and eventually sign? Thanks.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@davidlt
Copy link
Contributor Author

davidlt commented Mar 7, 2016

Tests are triggered.

davidlange6 added a commit that referenced this pull request Mar 7, 2016
Clean up ElectroWeakAnalysis (GCC 6)
@davidlange6 davidlange6 merged commit 8f42d5c into cms-sw:CMSSW_8_1_X Mar 7, 2016
@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants