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
[CMSSW_7_0_X] Fix maybe-uninitialized errors in RecoEcal/EgammaClusterAlgos #587
Conversation
Fix the following two errors on slc6_amd64_gcc481: RecoEcal/EgammaClusterAlgos/src/PFECALSuperClusterAlgo.cc:276:15: error: 'IsClusteredWithSeed.{anonymous}::IsClustered::phiwidthSuperCluster_' may be used uninitialized in this function [-Werror=maybe-uninitialized] IsClustered IsClusteredWithSeed(seed,_clustype,_useDynamicDPhi); RecoEcal/EgammaClusterAlgos/src/PFECALSuperClusterAlgo.cc:276:15: error: 'IsClusteredWithSeed.{anonymous}::IsClustered::etawidthSuperCluster_' may be used uninitialized in this function [-Werror=maybe-uninitialized] In PFECALSuperClusterAlgo::buildSuperCluster we only check for PFLayer::ECAL_BARREL and PFLayer::ECAL_ENDCAP. If any other PFLayer::Layer is returned by seed->the_ptr()->layer() phiwidthSuperCluster_ and etawidthSuperCluster_ are uninitialized. Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
working @slava77 |
Because git-cms-merge-topic brings in the tip of the branch, so that we are sure you are testing together with the latest code have in the repository. |
yeah, I get this, but I think that for trivial changes the tracking should be off, @davidlt please let me know which IB was the base of your topic. |
@slava77 it's |
Thanks, it's clean here. |
Well, this is just the behaviour of You could have picked up the changes by hand by fetching the branch and then doing:
which would have had the behaviour you wanted (not tested, but that's the idea). We can change the default behaviour of |
Hi, I tested the changes on CMSSW_7_0_X_2013-08-22-0200, all tests passed. You can see the logs here: |
On 8/22/13 2:09 PM, Giulio Eulisse wrote:
I'm not really arguing that the merge-topic behavior need to be changed. We have to remember our realities:
With the way git works, if you put the topic/feature on a topic branch Cheers
Vyacheslav (Slava) Krutelyov |
signing b0ec64d |
The following categories have been signed by @slava77: Reconstruction @cms-git-reconstruction |
basic matrix tests ok, no differences as expected |
[CMSSW_7_0_X] Fix maybe-uninitialized errors in RecoEcal/EgammaClusterAlgos
updated config tag to V05-01-22
Sync to colin
Fix the following two errors on slc6_amd64_gcc481:
Signed-off-by: David Abdurachmanov David.Abdurachmanov@cern.ch