aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-10-04 01:38:57 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-10-04 01:38:57 +0000
commit2d511023c680aac890ca0298bb6b8988fa8c43e5 (patch)
tree538aca2428a910476222dee76bbae17552708295
parent772e266fbff40a566c9ef2d805c057c4692ac028 (diff)
downloadllvm-2d511023c680aac890ca0298bb6b8988fa8c43e5.zip
llvm-2d511023c680aac890ca0298bb6b8988fa8c43e5.tar.gz
llvm-2d511023c680aac890ca0298bb6b8988fa8c43e5.tar.bz2
[Python] Remove unused variable
warning: unused variable 'py_func_obj' [-Wunused-variable] PyObject *py_func_obj = m_py_obj; llvm-svn: 373686
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
index 180de98..feb0399 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
@@ -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() ) {