1
0
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:
Michael Adam 2008-03-27 11:51:31 +01:00
parent 5c30841fe7
commit fe0d12f8c2

View File

@ -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) {