diff --git a/dlls/setupapi/tests/stringtable.c b/dlls/setupapi/tests/stringtable.c index 1b8f2f40cb3..6a07b18a98f 100644 --- a/dlls/setupapi/tests/stringtable.c +++ b/dlls/setupapi/tests/stringtable.c @@ -159,7 +159,7 @@ static void test_StringTableLookUpString(void) static void test_StringTableStringFromId(void) { - WCHAR *string2, *string3; + WCHAR *string2; int result; /* correct */ @@ -168,13 +168,6 @@ static void test_StringTableStringFromId(void) result=lstrcmpiW(string, string2); ok(result==0,"StringID %p does not match requested StringID %p\n",string,string2); - - /* This should never work */ - string3=pStringTableStringFromId(table,0); - ok(string3!=NULL,"Failed to look up string by ID from String Table\n"); - - result=lstrcmpiW(string, string3); - ok(result!=0,"StringID %p matches requested StringID %p\n",string,string3); } START_TEST(stringtable)