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

Fixed building by Clang. #816

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Fixed building by Clang. #816

merged 1 commit into from
Nov 7, 2024

Conversation

xeioex
Copy link
Contributor

@xeioex xeioex commented Nov 7, 2024

No description provided.

src/qjs.c:347:19: error: variable 'signo' may be uninitialized when used
	here [-Werror,-Wconditional-uninitialized]
  347 |     if (kill(pid, signo) < 0) {
      |                   ^~~~~
src/qjs.c:294:31: note: initialize the variable 'signo' to silence this
	warning
  294 |     int                  signo, pid;
      |                               ^
      |                                = 0
1 error generated.
Copy link
Contributor

@VadimZhestikov VadimZhestikov left a comment

Choose a reason for hiding this comment

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

Looks good

@xeioex xeioex merged commit e845d5e into nginx:master Nov 7, 2024
1 check passed
@xeioex xeioex deleted the fix_build_signo branch November 7, 2024 18:51
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