aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-08-24 11:31:45 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-08-24 11:31:45 +0200
commit36f6f6f4f2331dbd276a8455ecdafc16aceecb80 (patch)
treebd234428e52dd206005887d567e72cf3aef297b5
parenta78534794ee3a9d80da096ac95051cce19a116fd (diff)
http2: remove dead code
Leftovers from when we removed the private socket hash. Coverity CID 1317365, "Logically dead code"
-rw-r--r--lib/http2.c5
1 files changed, 0 insertions, 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;
}