mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-08 00:52:54 +00:00
[debugserver] Get rid of else
after return
. NFC.
This commit is contained in:
parent
649f042802
commit
6f9ea26002
@ -421,7 +421,8 @@ nub_process_t DNBProcessAttachByName(const char *name, struct timespec *timeout,
|
||||
if (num_matching_proc_infos == 0) {
|
||||
DNBLogError("error: no processes match '%s'\n", name);
|
||||
return INVALID_NUB_PROCESS;
|
||||
} else if (num_matching_proc_infos > 1) {
|
||||
}
|
||||
if (num_matching_proc_infos > 1) {
|
||||
DNBLogError("error: %llu processes match '%s':\n",
|
||||
(uint64_t)num_matching_proc_infos, name);
|
||||
size_t i;
|
||||
|
Loading…
Reference in New Issue
Block a user