forked from OSchip/llvm-project
[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:
parent
772e266fbf
commit
2d511023c6
|
@ -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() ) {
|
||||
|
|
Loading…
Reference in New Issue