aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2024-10-18 08:40:23 +0000
committerChristos Margiolis <christos@FreeBSD.org>2024-10-18 08:40:23 +0000
commit3cab66d12d439357b948093756ca1af87967c8cc (patch)
tree52fc76b9d0bf156b4fbaf361b6e8d50157bc0b18 /contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
parent248aced26eee6f569717618d097bc2205a93c800 (diff)
sound: Simplify vchan_create() error paths
Instead of checking the value of "ret" multiple times, just set a goto label and jump there immediately in case of an error. While here, remove a redundant assignment to "d". Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: dev_submerge.ch, markj, emaste Differential Revision: https://reviews.freebsd.org/D46833
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions