mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
no h2: fix unused var warning
https://github.com/warmcat/libwebsockets/issues/1579
This commit is contained in:
parent
8f5cdac36d
commit
752e19391d
1 changed files with 2 additions and 0 deletions
|
@ -1812,7 +1812,9 @@ int
|
|||
lws_handshake_server(struct lws *wsi, unsigned char **buf, size_t len)
|
||||
{
|
||||
struct lws_context *context = lws_get_context(wsi);
|
||||
#if defined(LWS_WITH_HTTP2)
|
||||
struct allocated_headers *ah;
|
||||
#endif
|
||||
unsigned char *obuf = *buf;
|
||||
#if defined(LWS_WITH_HTTP2)
|
||||
char tbuf[128], *p;
|
||||
|
|
Loading…
Add table
Reference in a new issue