Author: jdevlieghere Date: Thu Oct 3 18:38:57 2019 New Revision: 373686 URL: http://llvm.org/viewvc/llvm-project?rev=373686&view=rev Log: [Python] Remove unused variable
warning: unused variable 'py_func_obj' [-Wunused-variable] PyObject *py_func_obj = m_py_obj; Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp?rev=373686&r1=373685&r2=373686&view=diff ============================================================================== --- lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp (original) +++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp Thu Oct 3 18:38:57 2019 @@ -891,7 +891,6 @@ PythonCallable::ArgInfo PythonCallable:: ArgInfo result = {0, false, false, false}; if (!IsValid()) return result; - PyObject *py_func_obj = m_py_obj; PythonObject __init__ = GetAttributeValue("__init__"); if (__init__.IsValid() ) { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits