clean: usused accidental global wsi
https://github.com/warmcat/libwebsockets/issues/708
This commit is contained in:
parent
384ee53a36
commit
04fee5f75f
1 changed files with 0 additions and 4 deletions
|
@ -539,7 +539,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)
|
||||
|
@ -681,9 +680,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