]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix warning in pythonmod under clang compiler.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 20 Jun 2017 07:05:30 +0000 (07:05 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 20 Jun 2017 07:05:30 +0000 (07:05 +0000)
git-svn-id: file:///svn/unbound/trunk@4236 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
pythonmod/pythonmod.c

index 49674aa111ec8239116f602639b32a4c45ccec05..25e21cfecf90996a076c154eb41ef9eae3bfd2fc 100644 (file)
@@ -1,3 +1,6 @@
+20 June 2017: Wouter
+       - Fix warning in pythonmod under clang compiler.
+
 16 June 2017: Ralph
        - Fix #1277: disable domain ratelimit by setting value to 0.
 
index dde7e54b246a8985cd66fe7acf9557d549cbe40f..35a20434b935e00aa463cd6b445a155a795a1fcb 100644 (file)
 /* ignore the varargs unused warning from SWIGs internal vararg support */
 #ifdef __GNUC__
 #pragma GCC diagnostic ignored "-Wunused-parameter"
+#ifndef __clang__
 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
 #endif
+#endif
 
 #include "config.h"
 #include "sldns/sbuffer.h"