diff --git a/tests/http/clients/ws-data.c b/tests/http/clients/ws-data.c index 487d109ef3..e7d52756e8 100644 --- a/tests/http/clients/ws-data.c +++ b/tests/http/clients/ws-data.c @@ -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;