Commit 496ecbd
committed
ssl_poll_perf: address compiler warnings
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]>1 parent 2821964 commit 496ecbd
1 file changed
+14
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
75 | 79 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| |||
962 | 969 | | |
963 | 970 | | |
964 | 971 | | |
965 | | - | |
966 | 972 | | |
967 | | - | |
968 | 973 | | |
969 | 974 | | |
970 | 975 | | |
| |||
2386 | 2391 | | |
2387 | 2392 | | |
2388 | 2393 | | |
2389 | | - | |
2390 | 2394 | | |
2391 | 2395 | | |
2392 | 2396 | | |
| |||
3135 | 3139 | | |
3136 | 3140 | | |
3137 | 3141 | | |
3138 | | - | |
3139 | 3142 | | |
3140 | 3143 | | |
3141 | 3144 | | |
| |||
0 commit comments