Commit c5b3410
committed
bugfix: supress clang warning.
../ngx_stream_lua-0.0.18RC1/src/ngx_stream_lua_proxy_ssl_certby.c:66:25: warning: variable 'ssl' may be uninitialized when used here [-Wconditional-uninitialized]
66 | SSL_CTX_set_cert_cb(ssl->ctx, ngx_stream_lua_proxy_ssl_cert_handler, NULL);
| ^~~
../ngx_stream_lua-0.0.18RC1/src/ngx_stream_lua_proxy_ssl_certby.c:33:29: note: initialize the variable 'ssl' to silence this warning
33 | ngx_ssl_t *ssl;
| ^
| = NULL1 parent 59c749f commit c5b3410
1 file changed
Lines changed: 7 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
65 | 60 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 61 | + | |
69 | 62 | | |
70 | 63 | | |
71 | 64 | | |
| |||
0 commit comments