Skip to content

Remove extra const from gestScriptExtensions #236

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

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

etcwilde
Copy link
Contributor

Returning a constant pointer is extraneous and leads to a bunch of
warnings. Since you don't control where the pointer is assigned you
can't really control whether the pointer is const or not. The uint8_t
inside can be const though.

Returning a constant pointer is extraneous and leads to a bunch of
warnings. Since you don't control where the pointer is assigned you
can't really control whether the pointer is const or not. The uint8_t
inside can be const though.
@etcwilde etcwilde requested a review from Azoy March 31, 2022 05:28
@etcwilde
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@Azoy Azoy left a comment

Choose a reason for hiding this comment

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

Thank you!

@etcwilde etcwilde merged commit 365f5b5 into swiftlang:main Mar 31, 2022
@etcwilde etcwilde deleted the ewilde/fix-extraneous-const branch March 31, 2022 16:49
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