Skip to content

C6294 ill defined for loop fix - #5750

Merged
ev-mp merged 1 commit into
realsenseai:developmentfrom
LukeCetnar:Issue5731
Feb 4, 2020
Merged

C6294 ill defined for loop fix #5750
ev-mp merged 1 commit into
realsenseai:developmentfrom
LukeCetnar:Issue5731

Conversation

@JTrantow

Copy link
Copy Markdown
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
Copy Markdown
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

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

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 realsenseai: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