Andrew Talbot : ole32: Remove superfluous shadow variables.

Alexandre Julliard julliard at winehq.org
Tue Feb 3 09:13:04 CST 2009


Module: wine
Branch: master
Commit: 772a9b3540d5e02929303a867049e02665657a87
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=772a9b3540d5e02929303a867049e02665657a87

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon Feb  2 17:50:12 2009 +0000

ole32: Remove superfluous shadow variables.

---

 dlls/ole32/comcat.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

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-cvs mailing list