mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
http: Fix a compiler warning when http2 support is disabled
This commit is contained in:
parent
461d45ea7a
commit
f634355868
@ -1761,9 +1761,10 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
else {
|
||||
/* prepare for a http2 request */
|
||||
Curl_http2_setup(conn);
|
||||
}
|
||||
|
||||
http = data->req.protop;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user