From 9e75e7b780a0dce0f6f0d0b0f4619c294fcc644e Mon Sep 17 00:00:00 2001 From: Jackson Ming Hu Date: Mon, 1 Jul 2019 14:52:30 +0100 Subject: [PATCH] esp32: remove extra const it will block the compilation on GCC 8.x --- lib/plat/esp32/esp32-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plat/esp32/esp32-init.c b/lib/plat/esp32/esp32-init.c index eac556d07..eed667cd8 100644 --- a/lib/plat/esp32/esp32-init.c +++ b/lib/plat/esp32/esp32-init.c @@ -49,7 +49,7 @@ lws_plat_context_late_destroy(struct lws_context *context) * These are the default SETTINGS used on this platform. The user * can selectively modify them for a vhost during vhost creation. */ -const struct http2_settings const lws_h2_defaults_esp32 = { { +const struct http2_settings lws_h2_defaults_esp32 = { { 1, /* H2SET_HEADER_TABLE_SIZE */ 512, /* H2SET_ENABLE_PUSH */ 0,