From 36f6f6f4f2331dbd276a8455ecdafc16aceecb80 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 24 Aug 2015 11:31:45 +0200 Subject: http2: remove dead code Leftovers from when we removed the private socket hash. Coverity CID 1317365, "Logically dead code" --- lib/http2.c | 5 ----- 1 file changed, 5 deletions(-) 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; } -- cgit v1.2.3