http: Fix a compiler warning when http2 support is disabled
authorDan Fandrich <dan@coneharvesters.com>
Thu, 22 May 2014 06:38:26 +0000 (08:38 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 22 May 2014 06:38:26 +0000 (08:38 +0200)
lib/http.c

index cfdaadd..5711ee6 100644 (file)
@@ -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;