summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-23 11:05:49 +0200
committerVolker Lendecke <vl@samba.org>2009-04-23 11:08:59 +0200
commit0accf2cf0f5890c9adf17c3d738bdf6cb46841a4 (patch)
tree0da053de0ba2c4c41d0dce974533eeadb70c5536 /nsswitch/libwbclient
parent6610327770f3e7dd3e7a9b71d34b82f1f198a8a4 (diff)
downloadsamba-0accf2cf0f5890c9adf17c3d738bdf6cb46841a4.tar.gz
samba-0accf2cf0f5890c9adf17c3d738bdf6cb46841a4.tar.bz2
samba-0accf2cf0f5890c9adf17c3d738bdf6cb46841a4.zip
Fix Coverity ID 626: DEADCODE
Diffstat (limited to 'nsswitch/libwbclient')
-rw-r--r--nsswitch/libwbclient/wbc_pam.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c
index 92c6643631..61ce2a12d2 100644
--- 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,