-
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
Uninitialized, unused member variable in SimCluster #32905
Comments
assign simulation |
New categories assigned: simulation @mdhildreth,@civanch you have been requested to review this Pull request/Issue and eventually sign? Thanks |
A new Issue was created by @kpedro88 Kevin Pedro. @Dr15Jones, @dpiparo, @silviodonato, @smuzaffar, @makortel, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
+1 was fixed with #36346 |
@kpedro88 , this issue may be closed now. |
This issue is fully signed and ready to be closed. |
While running valgrind for something else, I noticed the attached report of uninitialized values.
Looking at https://github.com/cms-sw/cmssw/blob/master/SimDataFormats/CaloAnalysis/interface/SimCluster.h and https://github.com/cms-sw/cmssw/blob/master/SimDataFormats/CaloAnalysis/src/SimCluster.cc, it seems that some of the member variables are definitely left uninitialized by some of the constructors.
I particularly noticed
cmssw/SimDataFormats/CaloAnalysis/interface/SimCluster.h
Line 219 in 442ae07
It would be best to ensure that all primitive member variables are initialized by all constructors, and unused content is removed (saves memory, disk space, etc.).
The text was updated successfully, but these errors were encountered: