]> granicus.if.org Git - curl/commitdiff
http2: remove CURL_DISABLE_TYPECHECK define
authorDaniel Stenberg <daniel@haxx.se>
Tue, 11 Jun 2019 05:49:24 +0000 (07:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 11 Jun 2019 05:49:24 +0000 (07:49 +0200)
... in http2-less builds as it served no use.

lib/http2.c

index a535d14bbe043344732e27568f94ce67516102d4..6724eeeb08f3ce782f613313ea632d9a16355af2 100644 (file)
@@ -2415,8 +2415,6 @@ bool Curl_h2_http_1_1_error(struct connectdata *conn)
 #else /* !USE_NGHTTP2 */
 
 /* Satisfy external references even if http2 is not compiled in. */
-
-#define CURL_DISABLE_TYPECHECK
 #include <curl/curl.h>
 
 char *curl_pushheader_bynum(struct curl_pushheaders *h, size_t num)