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

C6294 ill defined for loop fix #5750

Merged
merged 1 commit into from
Feb 4, 2020
Merged

C6294 ill defined for loop fix #5750

merged 1 commit into from
Feb 4, 2020

Conversation

JTrantow
Copy link
Contributor

for loop uses a UCHAR but compares to 256 (which in not within the ra…nge of UCHAR) so the conditional is always true which generates a compiler warning. Change the conditional to true to avoid the warning and does not change functionality.

…nge of UCHAR) so the conditional is always true which generates a compiler warning. Change the conditional to true to avoid the warning and does not change functionality.
@JTrantow
Copy link
Contributor Author

I originally opened a PR with the wrong branch of my fork. I think I am finally getting the hang of git.

@ev-mp ev-mp changed the base branch from master to development February 4, 2020 12:56
Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

@ev-mp ev-mp merged commit cc54e25 into IntelRealSense:development Feb 4, 2020
@JTrantow JTrantow deleted the Issue5731 branch February 4, 2020 15:25
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