svn commit: samba r13451 - branches/SAMBA_3_0/source/rpc_client trunk/source/rpc_client

gd at samba.org gd at samba.org
Sat Feb 11 00:09:04 GMT 2006


Author: gd
Date: 2006-02-11 00:08:57 +0000 (Sat, 11 Feb 2006)
New Revision: 13451

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13451

Log:
Fix build warning.

Guenther

Modified:
   branches/SAMBA_3_0/source/rpc_client/cli_samr.c
   trunk/source/rpc_client/cli_samr.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_client/cli_samr.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_client/cli_samr.c	2006-02-11 00:04:59 UTC (rev 13450)
+++ branches/SAMBA_3_0/source/rpc_client/cli_samr.c	2006-02-11 00:08:57 UTC (rev 13451)
@@ -1259,7 +1259,6 @@
 	prs_struct qbuf, rbuf;
 	SAMR_Q_CHGPASSWD_USER3 q;
 	SAMR_R_CHGPASSWD_USER3 r;
-	NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
 
 	uchar new_nt_password[516];
 	uchar new_lm_password[516];
@@ -1323,11 +1322,7 @@
 
 	/* Return output parameters */
 
-	result = r.status;
-	
- done:
-
-	return result;
+	return r.status;
 }
 
 /* This function returns the bizzare set of (max_entries, max_size) required

Modified: trunk/source/rpc_client/cli_samr.c
===================================================================
--- trunk/source/rpc_client/cli_samr.c	2006-02-11 00:04:59 UTC (rev 13450)
+++ trunk/source/rpc_client/cli_samr.c	2006-02-11 00:08:57 UTC (rev 13451)
@@ -1259,7 +1259,6 @@
 	prs_struct qbuf, rbuf;
 	SAMR_Q_CHGPASSWD_USER3 q;
 	SAMR_R_CHGPASSWD_USER3 r;
-	NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
 
 	uchar new_nt_password[516];
 	uchar new_lm_password[516];
@@ -1323,11 +1322,7 @@
 
 	/* Return output parameters */
 
-	result = r.status;
-	
- done:
-
-	return result;
+	return r.status;
 }
 
 /* This function returns the bizzare set of (max_entries, max_size) required



More information about the samba-cvs mailing list