[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Mon Apr 12 08:22:56 MDT 2010


The branch, master has been updated
       via  9ef235e... s4:tortore/rpc/spoolss.c: fix declaration after code warning
      from  c168e5c... s4-ldb: enable waf build of ldb without ldap backend

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


- Log -----------------------------------------------------------------
commit 9ef235ed0a833be671600c5efc2e8bf456c03c96
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Apr 12 13:44:19 2010 +0200

    s4:tortore/rpc/spoolss.c: fix declaration after code warning
    
    metze

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

Summary of changes:
 source4/torture/rpc/spoolss.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 19647f3..c976219 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -2578,18 +2578,18 @@ static bool test_Forms(struct torture_context *tctx,
 		       struct dcerpc_binding_handle *winreg_handle,
 		       struct policy_handle *hive_handle)
 {
-
-	struct spoolss_FormSize size;
-	struct spoolss_FormArea area;
+	const struct spoolss_FormSize size = {
+		.width	= 50,
+		.height	= 25
+	};
+	const struct spoolss_FormArea area = {
+		.left	= 5,
+		.top	= 10,
+		.right	= 45,
+		.bottom	= 15
+	};
 	int i;
 
-	size.width	= 50;
-	size.height	= 25;
-	area.left	= 5;
-	area.top	= 10;
-	area.right	= 45;
-	area.bottom	= 15;
-
 	struct {
 		struct spoolss_AddFormInfo1 info1;
 		WERROR expected_add_result;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list