mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
s4-torture: Make sure the handles are initialized correctly.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
13e33ab98e
commit
ef2cd51586
@ -2577,7 +2577,10 @@ static bool test_volatile_keys(struct torture_context *tctx,
|
|||||||
int hkey)
|
int hkey)
|
||||||
{
|
{
|
||||||
struct policy_handle new_handle, hive_handle;
|
struct policy_handle new_handle, hive_handle;
|
||||||
enum winreg_CreateAction action_taken;
|
enum winreg_CreateAction action_taken = REG_ACTION_NONE;
|
||||||
|
|
||||||
|
ZERO_STRUCT(new_handle);
|
||||||
|
ZERO_STRUCT(hive_handle);
|
||||||
|
|
||||||
torture_comment(tctx, "Testing VOLATILE key\n");
|
torture_comment(tctx, "Testing VOLATILE key\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user