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

Avoid warning when WARN_CREATE_GLOBAL is active #41

Merged
merged 1 commit into from
May 14, 2020
Merged

Avoid warning when WARN_CREATE_GLOBAL is active #41

merged 1 commit into from
May 14, 2020

Conversation

agkozak
Copy link
Contributor

@agkozak agkozak commented May 14, 2020

Version 1.8.2's $errfd has to be declared as a local variable, or else we get the warning

async_start_worker:37: numeric parameter errfd created globally in function async_start_worker

when the zsh option WARN_CREATE_GLOBAL is on.

Copy link
Owner

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

Super, thanks for catching this and submitting a PR!

@mafredri mafredri merged commit fa94826 into mafredri:master May 14, 2020
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.

None yet

2 participants