diff options
| author | Christos Margiolis <christos@FreeBSD.org> | 2024-10-18 08:40:23 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2024-10-18 08:40:23 +0000 |
| commit | 3cab66d12d439357b948093756ca1af87967c8cc (patch) | |
| tree | 52fc76b9d0bf156b4fbaf361b6e8d50157bc0b18 /contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp | |
| parent | 248aced26eee6f569717618d097bc2205a93c800 (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
