-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
r.sim: cleanup of global variables #5044
Conversation
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 love these cleanups, so much readable and manageable code, thanks!
I only left some minor suggestions.
scan-build
reported a number of issues. Although they are probably not introduced by this PR, I attached the report (html bundle) here for easy check:
Thanks! I will look at it, maybe address some of these in a later PR. |
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.
@petrasovaa are you planning on removing waterglobs.h
? If not, add a comment in the file explaining it's purpose and add nice comment's to the obscure variables names.
Eventually yes. |
There was new (or newly triggered, but may be existing) coverity defects in r.sim |
I saw it, I will look at it. |
This is an effort to get clean up the r.sim code:
nwalka
variable)There will be more changes/fixes, but perhaps it would be good to get this merged first.