ole32: Remove superfluous shadow variables

Andrew Talbot andrew.talbot at talbotville.com
Mon Feb 2 11:50:12 CST 2009


Changelog:
    ole32: Remove superfluous shadow variables.

diff --git a/dlls/ole32/comcat.c b/dlls/ole32/comcat.c
index f757cf9..ace4789 100644
--- a/dlls/ole32/comcat.c
+++ b/dlls/ole32/comcat.c
@@ -226,12 +226,6 @@ static HRESULT COMCAT_IsClassOfCategories(
     HKEY key,
     struct class_categories const* categories)
 {
-    static const WCHAR impl_keyname[] = { 'I', 'm', 'p', 'l', 'e', 'm', 'e', 'n',
-                                          't', 'e', 'd', ' ', 'C', 'a', 't', 'e',
-                                          'g', 'o', 'r', 'i', 'e', 's', 0 };
-    static const WCHAR req_keyname[]  = { 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'd',
-                                          ' ', 'C', 'a', 't', 'e', 'g', 'o', 'r',
-                                          'i', 'e', 's', 0 };
     HKEY subkey;
     HRESULT res;
     DWORD index;



More information about the wine-patches mailing list