[Lldb-commits] [lldb] 0660249 - [lldb] Remove a redundaunt return statement (NFC)
Kazu Hirata via lldb-commits
lldb-commits at lists.llvm.org
Sat Aug 27 21:21:34 PDT 2022
Author: Kazu Hirata
Date: 2022-08-27T21:21:05-07:00
New Revision: 0660249cca89208f042b13913bf0bb5485527ec1
URL: https://github.com/llvm/llvm-project/commit/0660249cca89208f042b13913bf0bb5485527ec1
DIFF: https://github.com/llvm/llvm-project/commit/0660249cca89208f042b13913bf0bb5485527ec1.diff
LOG: [lldb] Remove a redundaunt return statement (NFC)
Identified with readability-redundant-control-flow.
Added:
Modified:
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 2178db8e9b7c5..7717f22f97885 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -1259,8 +1259,6 @@ void ScriptInterpreterPythonImpl::SetWatchpointCommandCallback(
wp_options->SetCallback(
ScriptInterpreterPythonImpl::WatchpointCallbackFunction, baton_sp);
}
-
- return;
}
Status ScriptInterpreterPythonImpl::ExportFunctionDefinitionToInterpreter(
More information about the lldb-commits
mailing list