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 useless-cast warning #1090

Closed
wants to merge 9 commits into from
Closed

Fix useless-cast warning #1090

wants to merge 9 commits into from

Conversation

waahm7
Copy link
Contributor

@waahm7 waahm7 commented Feb 12, 2024

Issue #, if available:
#973

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.82%. Comparing base (0a98aa0) to head (3f9f026).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1090   +/-   ##
=======================================
  Coverage   83.82%   83.82%           
=======================================
  Files          57       57           
  Lines        5991     5991           
=======================================
  Hits         5022     5022           
  Misses        969      969           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -53,6 +53,13 @@ AWS_EXTERN_C_BEGIN
# pragma warning(disable : 4127) /*Disable "conditional expression is constant" */
#endif /* _MSC_VER */

#ifdef __cplusplus
# if defined(__GNUC__)
# pragma GCC diagnostic push
Copy link
Contributor

Choose a reason for hiding this comment

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

You also need to pop
Otherwise, any code that includes the .h file that includes this .inl file will have these warnings disabled

@waahm7 waahm7 marked this pull request as draft February 13, 2024 17:37
@waahm7 waahm7 marked this pull request as ready for review July 31, 2024 21:19
@graebm
Copy link
Contributor

graebm commented Aug 13, 2024

Fixed it here: #1145

@graebm graebm closed this Aug 13, 2024
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.

3 participants