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

LWS_WITH_NO_LOGS: take care about unused array for log generation

parent 0be9e98a
Branches
Tags
No related merge requests found
...@@ -40,6 +40,7 @@ lws_get_library_version(void) ...@@ -40,6 +40,7 @@ lws_get_library_version(void)
return library_version; return library_version;
} }
#if !defined(LWS_WITH_NO_LOGS)
static const char * const mount_protocols[] = { static const char * const mount_protocols[] = {
"http://", "http://",
"https://", "https://",
...@@ -49,6 +50,7 @@ static const char * const mount_protocols[] = { ...@@ -49,6 +50,7 @@ static const char * const mount_protocols[] = {
">https://", ">https://",
"callback://" "callback://"
}; };
#endif
LWS_VISIBLE void * LWS_VISIBLE void *
lws_protocol_vh_priv_zalloc(struct lws_vhost *vhost, const struct lws_protocols *prot, lws_protocol_vh_priv_zalloc(struct lws_vhost *vhost, const struct lws_protocols *prot,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment