git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c30841
)
libwbclient: fix Coverity ID 536 remove duplicate error path (dead code).
author
Michael Adam
<obnox@samba.org>
Thu, 27 Mar 2008 10:51:31 +0000
(11:51 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 27 Mar 2008 10:51:31 +0000
(11:51 +0100)
I leave the more explicit error path in the "if (cmd == 0)" block.
Michael
(This used to be commit
2ae19b5fb89e0a992962af14a81b641bf13b7892
)
source3/nsswitch/libwbclient/wbc_pam.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/libwbclient/wbc_pam.c
b/source3/nsswitch/libwbclient/wbc_pam.c
index c1457ccd087925c6f538c2593db6fd0460d24757..2b33f55990a15a1fa87c8250b76f2bfd279e7665 100644
(file)
--- 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) {