From c58eb1f8c52107a211a8604d955ed27d169d44f1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 16 Mar 2011 21:21:17 +0100 Subject: s3: Fix Coverity ID 2148, FORWARD_NULL Further down we unconditionally reference *info --- nsswitch/libwbclient/wbc_pam.c | 5 ++--- 1 file 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; } -- cgit