From 9a7397ce42cee6b774013920e8897abf98798964 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sun, 27 Nov 2005 02:35:41 +0000 Subject: [PATCH] fix warning git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7882 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pyrun.swg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg index ec1e4e308..caa395aec 100644 --- a/Lib/python/pyrun.swg +++ b/Lib/python/pyrun.swg @@ -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 */