From: Daniel Stenberg Date: Mon, 24 Aug 2015 09:31:45 +0000 (+0200) Subject: http2: remove dead code X-Git-Tag: curl-7_45_0~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36f6f6f4f2331dbd276a8455ecdafc16aceecb80;p=curl http2: remove dead code Leftovers from when we removed the private socket hash. Coverity CID 1317365, "Logically dead code" --- diff --git a/lib/http2.c b/lib/http2.c index 197d05c05..6228c1127 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -904,11 +904,6 @@ CURLcode Curl_http2_init(struct connectdata *conn) failf(conn->data, "Couldn't initialize nghttp2!"); return CURLE_OUT_OF_MEMORY; /* most likely at least */ } - - if(rc) { - failf(conn->data, "Couldn't init stream hash!"); - return CURLE_OUT_OF_MEMORY; /* most likely at least */ - } } return CURLE_OK; }