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 variable initialization #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

drakest123
Copy link
Contributor

Some variables are initialized when they are declared. Depending on the compiler, these variables may not be properly initialized on subsequent invocations.

Additions

Initialized variables in the subroutine body. Changed variables to parameters if they do not change.

Removals

Removed variable initializations from the lines that declares them.

Testing

  1. Tested on a PC running standalone version of Snow-17.

Screenshots

Notes

Changes based on notes in Issue #44

Copy link
Contributor

@andywood andywood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look fine and correct the declaration/assignment issue with the previous coding.

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

Successfully merging this pull request may close these issues.

2 participants