1
0
Fork 0
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:
Andy Green 2019-05-17 01:24:52 +01:00
parent 8f5cdac36d
commit 752e19391d

View file

@ -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;