From: Dan Fandrich Date: Thu, 22 May 2014 06:38:26 +0000 (+0200) Subject: http: Fix a compiler warning when http2 support is disabled X-Git-Tag: curl-7_37_1~165 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f6343558686e2c8d24d4ea0badbbd45335896b5f;p=thirdparty%2Fcurl.git http: Fix a compiler warning when http2 support is disabled --- diff --git a/lib/http.c b/lib/http.c index cfdaaddfc7..5711ee64b2 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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;