Commit f6343558 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

http: Fix a compiler warning when http2 support is disabled

parent 461d45ea
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;