- Fix warning in pythonmod under clang compiler.

git-svn-id: file:///svn/unbound/trunk@4236 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-06-20 07:05:30 +00:00
parent 71d2d60b85
commit 1f6a7da0b0
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,6 @@
20 June 2017: Wouter
- Fix warning in pythonmod under clang compiler.
16 June 2017: Ralph 16 June 2017: Ralph
- Fix #1277: disable domain ratelimit by setting value to 0. - Fix #1277: disable domain ratelimit by setting value to 0.

View file

@ -41,8 +41,10 @@
/* ignore the varargs unused warning from SWIGs internal vararg support */ /* ignore the varargs unused warning from SWIGs internal vararg support */
#ifdef __GNUC__ #ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunused-parameter"
#ifndef __clang__
#pragma GCC diagnostic ignored "-Wunused-but-set-variable" #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif #endif
#endif
#include "config.h" #include "config.h"
#include "sldns/sbuffer.h" #include "sldns/sbuffer.h"