diff options
-rw-r--r-- | lldb/scripts/Python/python-wrapper.swig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/python-wrapper.swig b/lldb/scripts/Python/python-wrapper.swig index b2984e6ddc2..b84b21ae23e 100644 --- a/lldb/scripts/Python/python-wrapper.swig +++ b/lldb/scripts/Python/python-wrapper.swig @@ -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); |