svn commit: samba r7811 - in trunk/source/rpc_server: .
vlendec at samba.org
vlendec at samba.org
Tue Jun 21 17:16:30 GMT 2005
Author: vlendec
Date: 2005-06-21 17:16:30 +0000 (Tue, 21 Jun 2005)
New Revision: 7811
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7811
Log:
Get rid of an uninitialized variable warning. Jerry, you might want to check
this.
Volker
Modified:
trunk/source/rpc_server/srv_reg_nt.c
Changeset:
Modified: trunk/source/rpc_server/srv_reg_nt.c
===================================================================
--- trunk/source/rpc_server/srv_reg_nt.c 2005-06-21 13:42:47 UTC (rev 7810)
+++ trunk/source/rpc_server/srv_reg_nt.c 2005-06-21 17:16:30 UTC (rev 7811)
@@ -1378,6 +1378,8 @@
write_result = store_reg_keys( newparent, &subkeys );
regsubkey_ctr_destroy( &subkeys );
+
+ result = write_result ? WERR_OK : WERR_REG_IO_FAILURE;
done:
/* close any intermediate key handles */
@@ -1387,7 +1389,7 @@
/* rpc_reg.h says there is a POLICY_HDN in the reply...no idea if that is correct */
- return write_result ? WERR_OK : WERR_REG_IO_FAILURE;
+ return result;
}
More information about the samba-cvs
mailing list