From 61046e7bd59fc5f2ab2e7b1f0b89e2b5a90ae8c7 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Fri, 4 Aug 2017 22:47:16 +0200 Subject: 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 --- lib/vtls/darwinssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c index 20089dbe0..6f9c6012e 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 -- cgit v1.2.3