diff options
author | Jeremy Allison <jra@samba.org> | 2008-02-14 18:16:09 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-02-14 18:16:09 -0800 |
commit | 4737a35ac81803275f2c1edc860a87f31d14f2eb (patch) | |
tree | 2962bb88a241b83bd6c4d5c950c4f9d71aa12edd /source3 | |
parent | 4754c2bafe0ac5dc176c1e1d371bbc15165a7447 (diff) | |
download | samba-4737a35ac81803275f2c1edc860a87f31d14f2eb.tar.gz samba-4737a35ac81803275f2c1edc860a87f31d14f2eb.tar.bz2 samba-4737a35ac81803275f2c1edc860a87f31d14f2eb.zip |
Fix "warning: 'cmd' may be used uninitialized in this function"
Jeremy.
(This used to be commit 58b0f022ffce7fda531f6f8ea7392a963e8ec0c5)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/libwbclient/wbc_pam.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_pam.c b/source3/nsswitch/libwbclient/wbc_pam.c index e7bcdfe20d..d614474cb7 100644 --- a/source3/nsswitch/libwbclient/wbc_pam.c +++ b/source3/nsswitch/libwbclient/wbc_pam.c @@ -334,6 +334,9 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params, request.data.auth_crap.nt_resp_len); break; + default: + wbc_status = WBC_ERR_INVALID_PARAM; + BAIL_ON_WBC_ERROR(wbc_status); } wbc_status = wbcRequestResponse(cmd, |