Suppress -Werror=unused-but-set-variable gcc warning in Python wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c8b8d4f50d
commit
3b8bc08be7
2 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 2.0.8 (in progress)
|
Version 2.0.8 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2012-08-05: wsfulton
|
||||||
|
[Python] #3530021 Fix unused variable warning.
|
||||||
|
|
||||||
2012-08-05: wsfulton
|
2012-08-05: wsfulton
|
||||||
[C#] Fix #3536360 - Invalid code sometimes being generated for director methods
|
[C#] Fix #3536360 - Invalid code sometimes being generated for director methods
|
||||||
with many arguments.
|
with many arguments.
|
||||||
|
|
|
||||||
|
|
@ -398,6 +398,7 @@ SWIG_init(void) {
|
||||||
m = Py_InitModule((char *) SWIG_name, SwigMethods);
|
m = Py_InitModule((char *) SWIG_name, SwigMethods);
|
||||||
#endif
|
#endif
|
||||||
md = d = PyModule_GetDict(m);
|
md = d = PyModule_GetDict(m);
|
||||||
|
(void)md;
|
||||||
|
|
||||||
SWIG_InitializeModule(0);
|
SWIG_InitializeModule(0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue