diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-16 21:21:17 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-16 22:07:23 +0100 |
commit | c58eb1f8c52107a211a8604d955ed27d169d44f1 (patch) | |
tree | 2a4a27c355c858a5c5b6125e7112d5329c07f75d /nsswitch | |
parent | 2581cb7ada25432474f06525ffa9b857bae91e8f (diff) | |
download | samba-c58eb1f8c52107a211a8604d955ed27d169d44f1.tar.gz samba-c58eb1f8c52107a211a8604d955ed27d169d44f1.tar.bz2 samba-c58eb1f8c52107a211a8604d955ed27d169d44f1.zip |
s3: Fix Coverity ID 2148, FORWARD_NULL
Further down we unconditionally reference *info
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/libwbclient/wbc_pam.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c index 21f2c5d050..585dfcfaf6 100644 --- a/nsswitch/libwbclient/wbc_pam.c +++ b/nsswitch/libwbclient/wbc_pam.c @@ -1160,9 +1160,8 @@ wbcErr wbcCredentialCache(struct wbcCredentialCacheParams *params, ZERO_STRUCT(request); ZERO_STRUCT(response); - if (info != NULL) { - *info = NULL; - } + *info = NULL; + if (error != NULL) { *error = NULL; } |