mirror of
https://github.com/curl/curl.git
synced 2026-07-31 05:28:03 +03:00
http: Fix a compiler warning when http2 support is disabled
This commit is contained in:
parent
461d45ea7a
commit
f634355868
1 changed files with 2 additions and 1 deletions
|
|
@ -1761,9 +1761,10 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
/* prepare for a http2 request */
|
/* prepare for a http2 request */
|
||||||
Curl_http2_setup(conn);
|
Curl_http2_setup(conn);
|
||||||
|
}
|
||||||
|
|
||||||
http = data->req.protop;
|
http = data->req.protop;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue