Remove a compiler warning for builtin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1aa65e2220
commit
34e7c82631
1 changed files with 1 additions and 0 deletions
|
|
@ -1070,6 +1070,7 @@ SWIG_Python_GetSwigThis(PyObject *pyobj)
|
||||||
return (SwigPyObject *) pyobj;
|
return (SwigPyObject *) pyobj;
|
||||||
|
|
||||||
#ifdef SWIGPYTHON_BUILTIN
|
#ifdef SWIGPYTHON_BUILTIN
|
||||||
|
(void)obj;
|
||||||
# ifdef PyWeakref_CheckProxy
|
# ifdef PyWeakref_CheckProxy
|
||||||
if (PyWeakref_CheckProxy(pyobj)) {
|
if (PyWeakref_CheckProxy(pyobj)) {
|
||||||
pyobj = PyWeakref_GET_OBJECT(pyobj);
|
pyobj = PyWeakref_GET_OBJECT(pyobj);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue