git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: Fix Coverity ID 2148, FORWARD_NULL
[ira/wip.git]
/
nsswitch
/
libwbclient
/
wbc_pam.c
diff --git
a/nsswitch/libwbclient/wbc_pam.c
b/nsswitch/libwbclient/wbc_pam.c
index 21f2c5d0504073c06ac0f17bb44aa5b766ac4c82..585dfcfaf6ed369f8e5f5660f20e4ebbeee1396b 100644
(file)
--- 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;
}