summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
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 /lldb/source/Plugins/ScriptInterpreter/Python
parent772e266fbff40a566c9ef2d805c057c4692ac028 (diff)
downloadbcm5719-llvm-2d511023c680aac890ca0298bb6b8988fa8c43e5.tar.gz
bcm5719-llvm-2d511023c680aac890ca0298bb6b8988fa8c43e5.zip
[Python] Remove unused variable
warning: unused variable 'py_func_obj' [-Wunused-variable] PyObject *py_func_obj = m_py_obj; llvm-svn: 373686
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-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 180de988d83..feb0399d6af 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() ) {
OpenPOWER on IntegriCloud