Fix a compilation warning

parent fa31f05a
...@@ -628,7 +628,9 @@ esp_err_t http_response_begin(http_context_t http_ctx, int code, const char* con ...@@ -628,7 +628,9 @@ esp_err_t http_response_begin(http_context_t http_ctx, int code, const char* con
esp_err_t http_response_write(http_context_t http_ctx, const http_buffer_t* buffer) esp_err_t http_response_write(http_context_t http_ctx, const http_buffer_t* buffer)
{ {
size_t len; size_t len;
#if HTTPS_SERVER
int ret; int ret;
#endif
esp_err_t err; esp_err_t err;
if (http_ctx->state == HTTP_COLLECTING_RESPONSE_HEADERS) { if (http_ctx->state == HTTP_COLLECTING_RESPONSE_HEADERS) {
err = http_send_response_headers(http_ctx); err = http_send_response_headers(http_ctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment