From 2d511023c680aac890ca0298bb6b8988fa8c43e5 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 4 Oct 2019 01:38:57 +0000 Subject: [Python] Remove unused variable warning: unused variable 'py_func_obj' [-Wunused-variable] PyObject *py_func_obj = m_py_obj; llvm-svn: 373686 --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp') 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() ) { -- cgit v1.1