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:
parent
13527a79b7
commit
781b468aa1
2 changed files with 3 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue