[debugserver] Get rid of else after return. NFC.

This commit is contained in:
Davide Italiano 2020-04-02 13:22:52 -07:00
parent 649f042802
commit 6f9ea26002

View File

@ -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;