[Lldb-commits] [lldb] r373719 - [lldb] Fix typo in r373675

Sam McCall via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 4 02:33:04 PDT 2019


Author: sammccall
Date: Fri Oct  4 02:33:04 2019
New Revision: 373719

URL: http://llvm.org/viewvc/llvm-project?rev=373719&view=rev
Log:
[lldb] Fix typo in r373675

Modified:
    lldb/trunk/scripts/Python/python-wrapper.swig

Modified: lldb/trunk/scripts/Python/python-wrapper.swig
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/python-wrapper.swig?rev=373719&r1=373718&r2=373719&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/python-wrapper.swig (original)
+++ lldb/trunk/scripts/Python/python-wrapper.swig Fri Oct  4 02:33:04 2019
@@ -288,7 +288,7 @@ LLDBSwigPythonCreateScriptedThreadPlan
            Py_RETURN_NONE;
         }
         result = pfunc(tp_arg, dict);
-    } else if (init_num_args = 4) {
+    } else if (init_num_args == 4) {
         lldb::SBStructuredData *args_value = new lldb::SBStructuredData(args_impl);
         PythonObject args_arg(PyRefType::Owned, SBTypeToSWIGWrapper(args_value));
         result = pfunc(tp_arg, args_arg, dict);




More information about the lldb-commits mailing list