oleaut32/tests: Remove unused variable.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3370d24917
commit
3c7b0e8d85
|
@ -30,9 +30,6 @@
|
||||||
|
|
||||||
#include "tmarshal.h"
|
#include "tmarshal.h"
|
||||||
|
|
||||||
static HRESULT (WINAPI *pVarAdd)(LPVARIANT,LPVARIANT,LPVARIANT);
|
|
||||||
|
|
||||||
|
|
||||||
#define ok_ole_success(hr, func) ok(hr == S_OK, #func " failed with error 0x%08x\n", hr)
|
#define ok_ole_success(hr, func) ok(hr == S_OK, #func " failed with error 0x%08x\n", hr)
|
||||||
static inline void release_iface_(unsigned int line, void *iface)
|
static inline void release_iface_(unsigned int line, void *iface)
|
||||||
{
|
{
|
||||||
|
@ -3747,8 +3744,6 @@ static void test_marshal_dispinterface(void)
|
||||||
START_TEST(tmarshal)
|
START_TEST(tmarshal)
|
||||||
{
|
{
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
HANDLE hOleaut32 = GetModuleHandleA("oleaut32.dll");
|
|
||||||
pVarAdd = (void*)GetProcAddress(hOleaut32, "VarAdd");
|
|
||||||
|
|
||||||
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
|
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue