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

Initialize variable small #3

Merged
merged 1 commit into from
Nov 24, 2016
Merged

Initialize variable small #3

merged 1 commit into from
Nov 24, 2016

Conversation

michael-hartmann
Copy link
Contributor

gcc complains that the variable small may be used initialized. Actually, small will be initialized at the first iteration of the loop for last == 1 (see label _80). To prevent gcc from printing the warning, initialize small to 0.

The variable small will be initialized within the first iteration of the loop
when last == 1 at the label _80. So, this commit does not fix a bug or a problem,
but it merely prevents gcc to print a warning when compiling the code.
@edisongustavo edisongustavo merged commit e6a648b into ESSS:master Nov 24, 2016
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