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

warning: ‘sigset’ may be used uninitialized in this function [-Wmaybe-uninitialized] #16

Open
akast opened this issue Oct 22, 2017 · 2 comments

Comments

@akast
Copy link

akast commented Oct 22, 2017

~/socketcand# make
gcc -Wall -Wno-parentheses -DPF_CAN=29 -DAF_CAN=PF_CAN -DHAVE_CONFIG_H -I . -I ./include -o socketcand ./socketcand.c ./statistics.c ./beacon.c ./state_bcm.c ./state_raw.c ./state_isotp.c ./state_control.c -lpthread
gcc -Wall -Wno-parentheses -DPF_CAN=29 -DAF_CAN=PF_CAN -DHAVE_CONFIG_H -I . -I ./include -o socketcandcl ./socketcandcl.c
./socketcandcl.c: In function ‘main’:
./socketcandcl.c:179:24: warning: ‘sigset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sigint_action.sa_mask = sigset;

@yegorich yegorich mentioned this issue Aug 1, 2019
@yegorich
Copy link
Contributor

yegorich commented Aug 1, 2019

@akast could you test the referenced PR? Thanks.

@yegorich
Copy link
Contributor

yegorich commented Aug 9, 2019

See new upstream repository https://github.com/linux-can/socketcand

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

No branches or pull requests

2 participants