Skip to content
Snippets Groups Projects
Commit 5dd57a94 authored by Andy Green's avatar Andy Green
Browse files

coverity 160165 dead code


Yes... extension selection is not wired up yet

Signed-off-by: default avatarAndy Green <andy@warmcat.com>
parent 09490aeb
No related branches found
No related tags found
No related merge requests found
...@@ -274,8 +274,10 @@ lws_create_vhost(struct lws_context *context, ...@@ -274,8 +274,10 @@ lws_create_vhost(struct lws_context *context,
memcpy((struct lws_extension *)vh->extensions, info->extensions, memcpy((struct lws_extension *)vh->extensions, info->extensions,
sizeof(struct lws_extension) * m); sizeof(struct lws_extension) * m);
plugin = context->plugin_list;
while (plugin) { while (plugin) {
memcpy((struct lws_extension *)&vh->extensions[m], plugin->caps.extensions, memcpy((struct lws_extension *)&vh->extensions[m],
plugin->caps.extensions,
sizeof(struct lws_extension) * sizeof(struct lws_extension) *
plugin->caps.count_extensions); plugin->caps.count_extensions);
m += plugin->caps.count_extensions; m += plugin->caps.count_extensions;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment