[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-464-g2ae19b5

Michael Adam obnox at samba.org
Thu Mar 27 10:51:51 GMT 2008


The branch, v3-2-test has been updated
       via  2ae19b5fb89e0a992962af14a81b641bf13b7892 (commit)
      from  451fc9ae05f841883081a334e179cf31625a772c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 2ae19b5fb89e0a992962af14a81b641bf13b7892
Author: Michael Adam <obnox at samba.org>
Date:   Thu Mar 27 11:51:31 2008 +0100

    libwbclient: fix Coverity ID 536 remove duplicate error path (dead code).
    
    I leave the more explicit error path in the "if (cmd == 0)" block.
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/nsswitch/libwbclient/wbc_pam.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/libwbclient/wbc_pam.c b/source/nsswitch/libwbclient/wbc_pam.c
index c1457cc..2b33f55 100644
--- a/source/nsswitch/libwbclient/wbc_pam.c
+++ b/source/nsswitch/libwbclient/wbc_pam.c
@@ -384,8 +384,7 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params,
 		}
 		break;
 	default:
-		wbc_status = WBC_ERR_INVALID_PARAM;
-		BAIL_ON_WBC_ERROR(wbc_status);
+		break;
 	}
 
 	if (cmd == 0) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list