1
0
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:
Andreas Schneider 2013-12-04 14:01:49 +01:00 committed by Michael Adam
parent 13e33ab98e
commit ef2cd51586

View File

@ -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");