gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 194/208: darwinssl: fix compiler warning


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 194/208: darwinssl: fix compiler warning
Date: Wed, 09 Aug 2017 17:36:31 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit 61046e7bd59fc5f2ab2e7b1f0b89e2b5a90ae8c7
Author: Marcel Raad <address@hidden>
AuthorDate: Fri Aug 4 22:47:16 2017 +0200

    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(-)

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>

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]