VC++ warning fixes for python builtin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6c25cdde13
commit
87506db48f
2 changed files with 0 additions and 3 deletions
|
|
@ -288,8 +288,6 @@ SwigPyStaticVar_get(PyGetSetDescrObject *descr, PyObject *obj, PyObject *type) {
|
|||
|
||||
SWIGINTERN int
|
||||
SwigPyStaticVar_set(PyGetSetDescrObject *descr, PyObject *obj, PyObject *value) {
|
||||
int res;
|
||||
|
||||
if (descr->d_getset->set != NULL)
|
||||
return descr->d_getset->set(obj, value, descr->d_getset->closure);
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue