mirror of
https://github.com/curl/curl.git
synced 2026-05-05 09:47:16 +03:00
tests/http: fix compiler warning
- Init result code variable to fix clang warning that it may be used uninitialized. Fixes https://github.com/curl/curl/issues/13301 Closes https://github.com/curl/curl/pull/13304
This commit is contained in:
parent
9287563e86
commit
a42de088a2
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ static void websocket_close(CURL *curl)
|
|||
|
||||
static CURLcode data_echo(CURL *curl, size_t plen_min, size_t plen_max)
|
||||
{
|
||||
CURLcode res;
|
||||
CURLcode res = CURLE_OK;
|
||||
size_t len;
|
||||
char *send_buf;
|
||||
size_t i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue