clean: usused accidental global wsi
https://github.com/warmcat/libwebsockets/issues/708
This commit is contained in:
parent
b1d4d3bb9e
commit
fdddf5af51
1 changed files with 0 additions and 4 deletions
|
@ -556,7 +556,6 @@ lws_init_vhost_client_ssl(const struct lws_context_creation_info *info,
|
|||
|
||||
return lws_context_init_client_ssl(&i, vhost);
|
||||
}
|
||||
struct lws wsi;
|
||||
|
||||
LWS_VISIBLE struct lws_context *
|
||||
lws_create_context(struct lws_context_creation_info *info)
|
||||
|
@ -703,9 +702,6 @@ lws_create_context(struct lws_context_creation_info *info)
|
|||
lwsl_notice(" Threads: %d each %d fds\n", context->count_threads,
|
||||
context->fd_limit_per_thread);
|
||||
|
||||
memset(&wsi, 0, sizeof(wsi));
|
||||
wsi.context = context;
|
||||
|
||||
if (!info->ka_interval && info->ka_time > 0) {
|
||||
lwsl_err("info->ka_interval can't be 0 if ka_time used\n");
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue