From dbd2e8cb346c1bbd14516a258675e7d16afb8325 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Mon, 24 May 2010 22:09:54 +0200 Subject: [PATCH] oleaut32/tests: Remove variable rValid which is not really used from test_VarMod. --- dlls/oleaut32/tests/vartest.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c index 2374051dd5d..8203510b39e 100644 --- a/dlls/oleaut32/tests/vartest.c +++ b/dlls/oleaut32/tests/vartest.c @@ -2347,7 +2347,7 @@ static void test_VarMod(void) static const WCHAR szNum1[] = {'1','0','\0'}; int l, r; BOOL lFound, rFound; - BOOL lValid, rValid; + BOOL lValid; BSTR strNum0, strNum1; CHECKPTR(VarMod); @@ -2531,7 +2531,6 @@ static void test_VarMod(void) } rFound = TRUE; - rValid = TRUE; switch(r) { case VT_EMPTY: @@ -2558,7 +2557,6 @@ static void test_VarMod(void) case VT_VARIANT: case VT_UNKNOWN: case VT_RECORD: - rValid = FALSE; break; default: rFound = FALSE;