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

Updates for snippet with normal for syntax #147

Closed
wants to merge 1 commit into from

Conversation

adkron
Copy link

@adkron adkron commented Mar 1, 2014

Before this patch the for loop would have been

for(i; i < count; count++) {
#...
}

This increments the control variable which isn't the norm so I thought it would be better served as:

for(i=0; i < count; i++) {
#...
}

Amos King @adkron amos.l.king@gmail.com

Before this patch the for loop would have been

for(i; i < count; count++) {
  #...
}

This increments the control variable which isn't the norm so I thought it would be better served as:

for(i=0; i < count; i++) {
  #...
}

Amos King @adkron <amos.l.king@gmail.com>
ajzafar pushed a commit that referenced this pull request Mar 1, 2014
Before this patch the for loop would have been

for(i; i < count; count++) {
  #...
}

This increments the control variable which isn't the norm so I thought it would be better served as:

for(i=0; i < count; i++) {
  #...
}

Merges #147
@ajzafar
Copy link
Collaborator

ajzafar commented Mar 1, 2014

Ah my mistake, thank you!

@ajzafar ajzafar closed this Mar 1, 2014
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