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

Remove unnecessary parameters #708

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Remove unnecessary parameters #708

merged 1 commit into from
Nov 20, 2024

Conversation

morn-0
Copy link
Contributor

@morn-0 morn-0 commented Nov 20, 2024

Enhanced msvc cross-compile compatibility

Enhanced msvc cross-compile compatibility
@saghul
Copy link
Contributor

saghul commented Nov 20, 2024

Can you clarify how this helps?

@morn-0
Copy link
Contributor Author

morn-0 commented Nov 20, 2024

Can you clarify how this helps?

This msvc version of the function does not depend on tz, tz was introduced (and not used) in the linux version of the function, where if it was for binary compatibility I think it could be retained but the function name has changed and there is no binary compatibility issue. Then in a cross-compiled environment it even brings some compiler alerts

@morn-0
Copy link
Contributor Author

morn-0 commented Nov 20, 2024

And in linux the tz parameter is only used in the kernel, so I think it's possible to remove the unnecessary parameter

Copy link
Contributor

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

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

Seems fine to me.

@saghul saghul merged commit 769e78f into quickjs-ng:master Nov 20, 2024
51 checks passed
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