fix warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cdb2097cf5
commit
9a7397ce42
1 changed files with 1 additions and 2 deletions
|
|
@ -697,10 +697,9 @@ SWIG_Python_AcquirePtr(PyObject *obj, int own) {
|
|||
int oldown = sobj->own;
|
||||
sobj->own = own;
|
||||
return oldown;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Convert a pointer value */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue