diff options
author | Michael Adam <obnox@samba.org> | 2008-03-27 11:51:31 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-03-27 11:51:31 +0100 |
commit | fe0d12f8c25625e51641a57290188f69dd454655 (patch) | |
tree | 667fd7e65c7de60c96632242018baea8130adb92 /source3/nsswitch/libwbclient/wbc_pam.c | |
parent | 5c30841fe7699bfa58869af110c7766a94d1f760 (diff) | |
download | samba-fe0d12f8c25625e51641a57290188f69dd454655.tar.gz samba-fe0d12f8c25625e51641a57290188f69dd454655.tar.bz2 samba-fe0d12f8c25625e51641a57290188f69dd454655.zip |
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)
Diffstat (limited to 'source3/nsswitch/libwbclient/wbc_pam.c')
-rw-r--r-- | source3/nsswitch/libwbclient/wbc_pam.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_pam.c b/source3/nsswitch/libwbclient/wbc_pam.c index c1457ccd08..2b33f55990 100644 --- a/source3/nsswitch/libwbclient/wbc_pam.c +++ b/source3/nsswitch/libwbclient/wbc_pam.c @@ -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) { |