From: Marcel Raad Date: Fri, 4 Aug 2017 20:47:16 +0000 (+0200) Subject: darwinssl: fix compiler warning X-Git-Tag: curl-7_55_0~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61046e7bd59fc5f2ab2e7b1f0b89e2b5a90ae8c7;p=thirdparty%2Fcurl.git darwinssl: fix compiler warning clang complains: vtls/darwinssl.c:40:8: error: extra tokens at end of #endif directive [-Werror,-Wextra-tokens] This breaks the darwinssl build on Travis. Fix it by making this token a comment. Closes https://github.com/curl/curl/pull/1734 --- diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c index 20089dbe00..6f9c6012e8 100644 --- a/lib/vtls/darwinssl.c +++ b/lib/vtls/darwinssl.c @@ -37,7 +37,7 @@ #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wtautological-pointer-compare" -#endif __clang__ +#endif /* __clang__ */ #ifdef HAVE_LIMITS_H #include