mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
libwbclient: fix Coverity ID 536 remove duplicate error path (dead code).
I leave the more explicit error path in the "if (cmd == 0)" block. Michael (This used to be commit 2ae19b5fb89e0a992962af14a81b641bf13b7892)
This commit is contained in:
parent
5c30841fe7
commit
fe0d12f8c2
@ -384,8 +384,7 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params,
|
||||
}
|
||||
break;
|
||||
default:
|
||||
wbc_status = WBC_ERR_INVALID_PARAM;
|
||||
BAIL_ON_WBC_ERROR(wbc_status);
|
||||
break;
|
||||
}
|
||||
|
||||
if (cmd == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user