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

Fix programming error #27

Merged
merged 1 commit into from
Mar 2, 2018
Merged

Fix programming error #27

merged 1 commit into from
Mar 2, 2018

Conversation

garbear
Copy link
Member

@garbear garbear commented Feb 9, 2018

Warning was:

XMLUtils.cpp:174:39: warning:
      comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
  if (test.find("encoding=\"utf-8\"") >= 0)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~

Warning was:

XMLUtils.cpp:174:39: warning:
      comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
  if (test.find("encoding=\"utf-8\"") >= 0)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
@garbear garbear changed the title Fix compiler warning Fix programming error Feb 9, 2018
@MartijnKaijser MartijnKaijser merged commit e8574b8 into xbmc:master Mar 2, 2018
@garbear garbear deleted the fix-warning branch March 2, 2018 04:32
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