[Python] Remove unused variable
warning: unused variable 'py_func_obj' [-Wunused-variable] PyObject *py_func_obj = m_py_obj; llvm-svn: 373686
This commit is contained in:
@@ -891,7 +891,6 @@ PythonCallable::ArgInfo PythonCallable::GetNumInitArguments() const {
|
||||
ArgInfo result = {0, false, false, false};
|
||||
if (!IsValid())
|
||||
return result;
|
||||
PyObject *py_func_obj = m_py_obj;
|
||||
|
||||
PythonObject __init__ = GetAttributeValue("__init__");
|
||||
if (__init__.IsValid() ) {
|
||||
|
||||
Reference in New Issue
Block a user