- 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
+2
View File
@@ -41,8 +41,10 @@
/* 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"