-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove dead assignments and simplify HLTmumutkFilter #36977
Remove dead assignments and simplify HLTmumutkFilter #36977
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36977/28347
|
A new Pull Request was created by @perrotta (Andrea Perrotta) for master. It involves the following packages:
@cmsbuild, @missirol, @Martin-Grunewald can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-71eb5f/22448/summary.html Comparison SummarySummary:
|
Hi @perrotta , thanks for the PR. Just for my education, where do I find the static-analyzer reports you mentioned? |
I hit it while reviewing one of the latest PRs that touched this package, I don't remember by heart which one now... |
Thanks, found it: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-02-11-2300/src/HLTrigger/btau/plugins/HLTmumutkFilter.cc:186:9: warning: Value stored to 'track1Matched' is never read [deadcode.DeadStores]
track1Matched = true;
^ ~~~~
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-02-11-2300/src/HLTrigger/btau/plugins/HLTmumutkFilter.cc:192:9: warning: Value stored to 'track2Matched' is never read [deadcode.DeadStores]
track2Matched = true;
^ ~~~~
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-02-11-2300/src/HLTrigger/btau/plugins/HLTmumutkFilter.cc:198:9: warning: Value stored to 'track3Matched' is never read [deadcode.DeadStores]
track3Matched = true;
^ ~~~~
3 warnings generated. |
+hlt |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
…erBtau Remove dead assignments and simplify HLTmumutkFilter
PR description:
As the title says
Dead assignments were reported by the static analyzer
PR validation:
It builds
No changes expected