aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2017-08-04 22:47:16 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2017-08-05 00:11:01 +0200
commit61046e7bd59fc5f2ab2e7b1f0b89e2b5a90ae8c7 (patch)
treebc1a28a98e2be7c45307f16e936e819eb18414a7 /lib/vtls
parent54aef857b37b5da730dce693d4df04d0a232a0c8 (diff)
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
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/darwinssl.c2
1 files changed, 1 insertions, 1 deletions
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 <limits.h>