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

[cleanup] silence compiler warnings #12631

Merged
merged 5 commits into from
Aug 10, 2017
Merged

[cleanup] silence compiler warnings #12631

merged 5 commits into from
Aug 10, 2017

Conversation

Rechi
Copy link
Member

@Rechi Rechi commented Aug 5, 2017

Description

Silence compiler warnings.

Motivation and Context

I don't like those warnings.

How Has This Been Tested?

compiled for android, osx and windows

Screenshots (if appropriate):

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the Code guidelines of this project
  • My change requires a change to the documentation, either Doxygen or wiki
  • I have updated the documentation accordingly
  • I have read the CONTRIBUTING document
  • I have added tests to cover my change
  • All new and existing tests passed

@Rechi Rechi added Type: Cleanup non-breaking change which removes non-working or unmaintained functionality v18 Leia labels Aug 5, 2017
@Rechi Rechi added this to the L 18.0-alpha1 milestone Aug 5, 2017
@Rechi Rechi requested a review from koying August 5, 2017 11:00
@@ -251,7 +251,7 @@ bool CAndroidUtils::SetNativeResolution(const RESOLUTION_INFO &res)
CXBMCApp::SetDisplayMode(atoi(res.strId.c_str()));
s_res_cur_displayMode = res;
}
else if (abs(currentRefreshRate() - res.fRefreshRate) > 0.0001)
else if (std::abs(currentRefreshRate() - res.fRefreshRate) > 0.0001)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@Rechi
Copy link
Member Author

Rechi commented Aug 7, 2017

any objections?

@AchimTuran
Copy link
Member

I'm fine with your changes too. Thank you for reducing the amount of warnings.

@Rechi Rechi merged commit 8aa7842 into xbmc:master Aug 10, 2017
@Rechi Rechi deleted the cleanupWarnings branch August 10, 2017 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Cleanup non-breaking change which removes non-working or unmaintained functionality v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants