[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Fri Nov 13 15:33:48 MST 2009


The branch, master has been updated
       via  ec49f28... s3/pam: move variable declaration into belonging ifdef section
      from  6540804... add e2fsprogs-devel as build dependency this is needed for AD because it contains libcom/libcom_err files and headers

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ec49f28a52a67ba7afc3357d638a1d932cd2b474
Author: Björn Jacke <bj at sernet.de>
Date:   Fri Nov 13 23:32:04 2009 +0100

    s3/pam: move variable declaration into belonging ifdef section
    
    This fixes a unused variable 'addr' warning on some platforms

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

Summary of changes:
 source3/auth/pampass.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 4eec269..e08670f 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -464,8 +464,8 @@ static bool smb_pam_start(pam_handle_t **pamh, const char *user, const char *rho
 	int pam_error;
 #ifdef PAM_RHOST
 	const char *our_rhost;
-#endif
 	char addr[INET6_ADDRSTRLEN];
+#endif
 
 	*pamh = (pam_handle_t *)NULL;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list