Sun Studio warning fixes for Python builtin

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-04-10 00:23:48 +00:00
commit 781b468aa1
2 changed files with 3 additions and 2 deletions

View file

@ -1078,7 +1078,7 @@ SWIG_Python_GetSwigThis(PyObject *pyobj)
}
# endif
return NULL;
#endif
#else
obj = 0;
@ -1121,6 +1121,7 @@ SWIG_Python_GetSwigThis(PyObject *pyobj)
return SWIG_Python_GetSwigThis(obj);
}
return (SwigPyObject *)obj;
#endif
}
/* Acquire a pointer value */