-
Notifications
You must be signed in to change notification settings - Fork 11
cmake: add -Wall to CFLAGS #64
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
Conversation
Sashan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense. thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to see changes in the source files as a separate preparatory commit, but I guess it's fine here. Otherwise, the only meaningful change needed is the directive ordering, everything else is optional.
Signed-off-by: Nikola Pajkovsky <[email protected]>
esyr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Signed-off-by: Nikola Pajkovsky <[email protected]> Reviewed-by: Saša Nedvědický <[email protected]> (Merged from #64)
|
merged in via 2821964 thanks. |
The changes address the following compiler warnings (reported by GCC 14):
ssl_poll_perf.c: In function ‘srvapp_setup_response’:
ssl_poll_perf.c:1553:33: warning: variable ‘pesb’ set but not used [-Wunused-but-set-variable]
1553 | struct poll_event_sbstream *pesb;
| ^~~~
ssl_poll_perf.c: In function ‘clntapp_write_custreamcb’:
ssl_poll_perf.c:2389:28: warning: unused variable ‘rb’ [-Wunused-variable]
2389 | struct request_buffer *rb;
| ^~
ssl_poll_perf.c: In function ‘clntapp_update_pec’:
ssl_poll_perf.c:2469:9: warning: variable ‘e’ set but not used [-Wunused-but-set-variable]
2469 | int e;
| ^
ssl_poll_perf.c: In function ‘main’:
ssl_poll_perf.c:3138:9: warning: unused variable ‘ccount’ [-Wunused-variable]
3138 | int ccount = 0;
| ^~~~~~
ssl_poll_perf.c: At top level:
ssl_poll_perf.c:1007:1: warning: ‘stream_state_str’ defined but not used [-Wunused-function]
1007 | stream_state_str(int stream_state)
| ^~~~~~~~~~~~~~~~
ssl_poll_perf.c:954:1: warning: ‘err_str_n’ defined but not used [-Wunused-function]
954 | err_str_n(unsigned long e, char *buf, size_t buf_sz)
| ^~~~~~~~~
Complements: openssl#64
Signed-off-by: Eugene Syromiatnikov <[email protected]>
The changes address the following compiler warnings (reported by GCC 14):
ssl_poll_perf.c: In function ‘srvapp_setup_response’:
ssl_poll_perf.c:1553:33: warning: variable ‘pesb’ set but not used [-Wunused-but-set-variable]
1553 | struct poll_event_sbstream *pesb;
| ^~~~
ssl_poll_perf.c: In function ‘clntapp_write_custreamcb’:
ssl_poll_perf.c:2389:28: warning: unused variable ‘rb’ [-Wunused-variable]
2389 | struct request_buffer *rb;
| ^~
ssl_poll_perf.c: In function ‘clntapp_update_pec’:
ssl_poll_perf.c:2469:9: warning: variable ‘e’ set but not used [-Wunused-but-set-variable]
2469 | int e;
| ^
ssl_poll_perf.c: In function ‘main’:
ssl_poll_perf.c:3138:9: warning: unused variable ‘ccount’ [-Wunused-variable]
3138 | int ccount = 0;
| ^~~~~~
ssl_poll_perf.c: At top level:
ssl_poll_perf.c:1007:1: warning: ‘stream_state_str’ defined but not used [-Wunused-function]
1007 | stream_state_str(int stream_state)
| ^~~~~~~~~~~~~~~~
ssl_poll_perf.c:954:1: warning: ‘err_str_n’ defined but not used [-Wunused-function]
954 | err_str_n(unsigned long e, char *buf, size_t buf_sz)
| ^~~~~~~~~
Complements: openssl#64
Signed-off-by: Eugene Syromiatnikov <[email protected]>
The changes address the following compiler warnings (reported by GCC 14):
ssl_poll_perf.c: In function ‘srvapp_setup_response’:
ssl_poll_perf.c:1553:33: warning: variable ‘pesb’ set but not used [-Wunused-but-set-variable]
1553 | struct poll_event_sbstream *pesb;
| ^~~~
ssl_poll_perf.c: In function ‘clntapp_write_custreamcb’:
ssl_poll_perf.c:2389:28: warning: unused variable ‘rb’ [-Wunused-variable]
2389 | struct request_buffer *rb;
| ^~
ssl_poll_perf.c: In function ‘clntapp_update_pec’:
ssl_poll_perf.c:2469:9: warning: variable ‘e’ set but not used [-Wunused-but-set-variable]
2469 | int e;
| ^
ssl_poll_perf.c: In function ‘main’:
ssl_poll_perf.c:3138:9: warning: unused variable ‘ccount’ [-Wunused-variable]
3138 | int ccount = 0;
| ^~~~~~
ssl_poll_perf.c: At top level:
ssl_poll_perf.c:1007:1: warning: ‘stream_state_str’ defined but not used [-Wunused-function]
1007 | stream_state_str(int stream_state)
| ^~~~~~~~~~~~~~~~
ssl_poll_perf.c:954:1: warning: ‘err_str_n’ defined but not used [-Wunused-function]
954 | err_str_n(unsigned long e, char *buf, size_t buf_sz)
| ^~~~~~~~~
Complements: openssl#64
Signed-off-by: Eugene Syromiatnikov <[email protected]>
The changes address the following compiler warnings (reported by GCC 14):
ssl_poll_perf.c: In function ‘srvapp_setup_response’:
ssl_poll_perf.c:1553:33: warning: variable ‘pesb’ set but not used [-Wunused-but-set-variable]
1553 | struct poll_event_sbstream *pesb;
| ^~~~
ssl_poll_perf.c: In function ‘clntapp_write_custreamcb’:
ssl_poll_perf.c:2389:28: warning: unused variable ‘rb’ [-Wunused-variable]
2389 | struct request_buffer *rb;
| ^~
ssl_poll_perf.c: In function ‘clntapp_update_pec’:
ssl_poll_perf.c:2469:9: warning: variable ‘e’ set but not used [-Wunused-but-set-variable]
2469 | int e;
| ^
ssl_poll_perf.c: In function ‘main’:
ssl_poll_perf.c:3138:9: warning: unused variable ‘ccount’ [-Wunused-variable]
3138 | int ccount = 0;
| ^~~~~~
ssl_poll_perf.c: At top level:
ssl_poll_perf.c:1007:1: warning: ‘stream_state_str’ defined but not used [-Wunused-function]
1007 | stream_state_str(int stream_state)
| ^~~~~~~~~~~~~~~~
ssl_poll_perf.c:954:1: warning: ‘err_str_n’ defined but not used [-Wunused-function]
954 | err_str_n(unsigned long e, char *buf, size_t buf_sz)
| ^~~~~~~~~
Complements: #64
Signed-off-by: Eugene Syromiatnikov <[email protected]>
No description provided.