mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- 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:
parent
71d2d60b85
commit
1f6a7da0b0
2 changed files with 5 additions and 0 deletions
|
|
@ -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.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue