git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0912518
)
Fix Coverity ID 626: DEADCODE
author
Volker Lendecke
<vl@samba.org>
Thu, 23 Apr 2009 09:05:49 +0000
(11:05 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 28 Apr 2009 07:11:16 +0000
(09:11 +0200)
(cherry picked from commit
eb247d6eb727b451727f454b0ec207f255341671
)
nsswitch/libwbclient/wbc_pam.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_pam.c
b/nsswitch/libwbclient/wbc_pam.c
index 92c66436317d2d09b189dddc6fd1cb3d9c0ac14e..61ce2a12d2fd66380e5e17d11ecf170413673695 100644
(file)
--- a/
nsswitch/libwbclient/wbc_pam.c
+++ b/
nsswitch/libwbclient/wbc_pam.c
@@
-810,11
+810,6
@@
wbcErr wbcChangeUserPasswordEx(const struct wbcChangePasswordParams *params,
break;
}
- if (cmd == 0) {
- wbc_status = WBC_ERR_INVALID_PARAM;
- BAIL_ON_WBC_ERROR(wbc_status);
- }
-
/* Send request */
wbc_status = wbcRequestResponse(cmd,