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