mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-01 11:21:47 +00:00
[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:
1 parent
772e266fbf
commit
2d511023c6
1 file changed
-1
@@ -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