From f6343558686e2c8d24d4ea0badbbd45335896b5f Mon Sep 17 00:00:00 2001
From: Dan Fandrich <dan@coneharvesters.com>
Date: Thu, 22 May 2014 08:38:26 +0200
Subject: http: Fix a compiler warning when http2 support is disabled

---
 lib/http.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'lib')

diff --git a/lib/http.c b/lib/http.c
index cfdaaddfc..5711ee64b 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;
 
-- 
cgit v1.2.3