diff --git a/doc/Changelog b/doc/Changelog index 2743e2aca..9def21f1c 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +30 May 2012: Wouter + - silence warning from swig-generated code (md set but not used in + swig initmodule, due to ifdefs in swig generated code). + 27 May 2012: Wouter - Fix debian-bugs-658021: Please enable hardened build flags. diff --git a/pythonmod/pythonmod.c b/pythonmod/pythonmod.c index 9860d001d..97f520a7c 100644 --- a/pythonmod/pythonmod.c +++ b/pythonmod/pythonmod.c @@ -41,6 +41,7 @@ /* ignore the varargs unused warning from SWIGs internal vararg support */ #ifdef __GNUC__ #pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" #endif #include "config.h"