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

More lgtm fixes #39222

Merged
merged 5 commits into from
Apr 3, 2020
Merged

More lgtm fixes #39222

merged 5 commits into from
Apr 3, 2020

Conversation

kevingranade
Copy link
Member

Summary

SUMMARY: None

Purpose of change

See #39175
Misc warnings from lgtm, mostly just removing noise.

Describe the solution

Eliminating use of c-style math functions.

Testing

Let lgtm do it's thing.

@kevingranade kevingranade changed the title More c-style math function removal More lgtm fixes Apr 3, 2020
@kevingranade
Copy link
Member Author

This handles all the apparently low hanging fruit, the rest of the warnings I'm not sure how to handle offhand and I haven't started with the recommendations yet.

@kevingranade
Copy link
Member Author

A quick glance through the recommendations, looks like most of them are FIXME comments.

@lgtm-com
Copy link

lgtm-com bot commented Apr 3, 2020

This pull request fixes 8 alerts when merging b0c045b into d07923e - view on LGTM.com

fixed alerts:

  • 4 for Comparison result is always the same
  • 2 for Multiplication result converted to larger type
  • 2 for Declaration hides parameter

@ZhilkinSerg ZhilkinSerg added Code: Build Issues regarding different builds and build environments [C++] Changes (can be) made in C++. Previously named `Code` labels Apr 3, 2020
@ZhilkinSerg ZhilkinSerg merged commit 3e25ed3 into master Apr 3, 2020
@kevingranade kevingranade deleted the kevingranade-lgtm-2 branch April 9, 2020 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Build Issues regarding different builds and build environments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants