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

Clear out warnings about unused variables #1229

Merged

Conversation

ariel-anieli
Copy link

Seen while compile eBPF using make CC=clang.

opensnitch.c:330:6: warning: unused variable 'zero_key' [-Wunused-variable]
  330 |         u32 zero_key = 0;
      |             ^~~~~~~~
opensnitch.c:372:6: warning: unused variable 'zero_key' [-Wunused-variable]
  372 |         u32 zero_key = 0;

Seen while compile eBPF using `make CC=clang`.

```
opensnitch.c:330:6: warning: unused variable 'zero_key' [-Wunused-variable]
  330 |         u32 zero_key = 0;
      |             ^~~~~~~~
opensnitch.c:372:6: warning: unused variable 'zero_key' [-Wunused-variable]
  372 |         u32 zero_key = 0;
```

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
@gustavo-iniguez-goya gustavo-iniguez-goya merged commit 353e10a into evilsocket:master Dec 8, 2024
2 checks passed
@ariel-anieli ariel-anieli deleted the unused-vars-warns branch December 9, 2024 09:38
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