Skip to content

Commit

Permalink
http2: remove dead code
Browse files Browse the repository at this point in the history
Leftovers from when we removed the private socket hash.

Coverity CID 1317365, "Logically dead code"
  • Loading branch information
bagder committed Aug 24, 2015
1 parent a785347 commit 36f6f6f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/http2.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 36f6f6f

Please sign in to comment.