mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
LWS_WITH_NO_LOGS: take care about unused array for log generation
This commit is contained in:
parent
0be9e98aae
commit
af718ff5c2
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@ lws_get_library_version(void)
|
|||
return library_version;
|
||||
}
|
||||
|
||||
#if !defined(LWS_WITH_NO_LOGS)
|
||||
static const char * const mount_protocols[] = {
|
||||
"http://",
|
||||
"https://",
|
||||
|
@ -49,6 +50,7 @@ static const char * const mount_protocols[] = {
|
|||
">https://",
|
||||
"callback://"
|
||||
};
|
||||
#endif
|
||||
|
||||
LWS_VISIBLE void *
|
||||
lws_protocol_vh_priv_zalloc(struct lws_vhost *vhost, const struct lws_protocols *prot,
|
||||
|
|
Loading…
Add table
Reference in a new issue