Nikolay Sivov : oleaut32/tests: Remove unused variable.
Alexandre Julliard
julliard at winehq.org
Fri Sep 17 16:03:09 CDT 2021
Module: wine
Branch: master
Commit: 3c7b0e8d85985aee5d5c51c97f46b7d5c33c13f9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3c7b0e8d85985aee5d5c51c97f46b7d5c33c13f9
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Sep 17 14:12:48 2021 +0300
oleaut32/tests: Remove unused variable.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/oleaut32/tests/tmarshal.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/dlls/oleaut32/tests/tmarshal.c b/dlls/oleaut32/tests/tmarshal.c
index 4e9a8baeca0..1e75a93ebce 100644
--- a/dlls/oleaut32/tests/tmarshal.c
+++ b/dlls/oleaut32/tests/tmarshal.c
@@ -30,9 +30,6 @@
#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)
static inline void release_iface_(unsigned int line, void *iface)
{
@@ -3747,8 +3744,6 @@ static void test_marshal_dispinterface(void)
START_TEST(tmarshal)
{
HRESULT hr;
- HANDLE hOleaut32 = GetModuleHandleA("oleaut32.dll");
- pVarAdd = (void*)GetProcAddress(hOleaut32, "VarAdd");
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
More information about the wine-cvs
mailing list