mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
vhost: Fix unused var warning with some SOCKS5
after 6bb116b8d8
the variable p could be
declared without being used.
https://bugs.gentoo.org/716386 refers.
This just fixes that.
This commit is contained in:
parent
66d1f34846
commit
33c9a6da4c
1 changed files with 2 additions and 2 deletions
|
@ -477,8 +477,8 @@ lws_create_vhost(struct lws_context *context,
|
|||
struct lws_protocols *lwsp;
|
||||
int m, f = !info->pvo, fx = 0, abs_pcol_count = 0, sec_pcol_count = 0;
|
||||
char buf[96];
|
||||
#if ((defined(LWS_CLIENT_HTTP_PROXYING) && defined(LWS_WITH_CLIENT)) \
|
||||
|| defined(LWS_WITH_SOCKS5)) && defined(LWS_HAVE_GETENV)
|
||||
#if defined(LWS_CLIENT_HTTP_PROXYING) && defined(LWS_WITH_CLIENT) \
|
||||
&& defined(LWS_HAVE_GETENV)
|
||||
char *p;
|
||||
#endif
|
||||
#if defined(LWS_WITH_SYS_ASYNC_DNS)
|
||||
|
|
Loading…
Add table
Reference in a new issue