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

Simplify jsmath.c. NFC #23144

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 12, 2024

casttype is always identical to type so is not needed. Also the actual cast operation is never needed since the argument type is always declared correctly.

@sbc100 sbc100 requested a review from kripken December 12, 2024 20:11
`casttype` is always identical to `type` so is not needed.  Also the
actual cast operation is never needed since the argument type is always
declared correctly.
@sbc100 sbc100 merged commit fe28060 into emscripten-core:main Dec 12, 2024
26 of 28 checks passed
@sbc100 sbc100 deleted the simplify_jsmath_2 branch December 12, 2024 22:58
hedwigz pushed a commit to hedwigz/emscripten that referenced this pull request Dec 18, 2024
`casttype` is always identical to `type` so is not needed. Also the
actual cast operation is never needed since the argument type is always
declared correctly.
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