diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index d216e07aeb5..e795a709c9b 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -4970,7 +4970,7 @@ static bool test_GetDriverInfo_winreg(struct torture_context *tctx, struct policy_handle *hive_handle, const char *server_name_slash) { - WERROR result; + WERROR result = WERR_OK; union spoolss_DriverInfo info; const char *driver_key; struct policy_handle key_handle; @@ -4987,6 +4987,8 @@ static bool test_GetDriverInfo_winreg(struct torture_context *tctx, const char *driver_version; const char *inbox_driver_version; + ZERO_STRUCT(key_handle); + torture_comment(tctx, "Testing Driver Info and winreg consistency\n"); driver_key = talloc_asprintf(tctx, "%s\\%s\\Drivers\\Version-%d\\%s", |