Module: wine Branch: master Commit: 3762de9d8c2edc791f07fa6c919ef1c38d8ac55a URL: http://source.winehq.org/git/wine.git/?a=commit;h=3762de9d8c2edc791f07fa6c91...
Author: Hans Leidekker hans@codeweavers.com Date: Mon Sep 5 11:46:15 2011 +0200
winhttp/tests: Initialize a variant with a known value.
---
dlls/winhttp/tests/winhttp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c index a662ef8..24478ad 100644 --- a/dlls/winhttp/tests/winhttp.c +++ b/dlls/winhttp/tests/winhttp.c @@ -2131,8 +2131,8 @@ static void test_IWinHttpRequest(void) hr = CoCreateInstance( &CLSID_WinHttpRequest, NULL, CLSCTX_INPROC_SERVER, &IID_IWinHttpRequest, (void **)&req ); ok( hr == S_OK, "got %08x\n", hr );
- VariantInit( &empty ); V_VT( &empty ) = VT_ERROR; + V_ERROR( &empty ) = 0xdeadbeef;
V_VT( &async ) = VT_BOOL; V_BOOL( &async ) = VARIANT_FALSE;