https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e83592920b1aa231be117bed6ba992b05319f43d

commit e83592920b1aa231be117bed6ba992b05319f43d
Author: Amine Khaldi <[email protected]>
AuthorDate: Thu Dec 7 23:54:22 2017 +0100

    [SHELL32] Remove unused debug channels and comment out unused variables. 
Silences some clang-cl warnings.
---
 dll/win32/shell32/folders.cpp             |  2 --
 dll/win32/shell32/shellmenu/CMenuSite.cpp |  2 --
 dll/win32/shell32/wine/shellpath.c        | 24 ++++++++++++++++++++++++
 3 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/dll/win32/shell32/folders.cpp b/dll/win32/shell32/folders.cpp
index db8312f1fa..5b69ff6d5c 100644
--- a/dll/win32/shell32/folders.cpp
+++ b/dll/win32/shell32/folders.cpp
@@ -19,8 +19,6 @@
 
 #include "precomp.h"
 
-WINE_DEFAULT_DEBUG_CHANNEL(shell);
-
 WCHAR swShell32Name[MAX_PATH];
 
 DWORD NumIconOverlayHandlers = 0;
diff --git a/dll/win32/shell32/shellmenu/CMenuSite.cpp 
b/dll/win32/shell32/shellmenu/CMenuSite.cpp
index 25b0803c38..010408de07 100644
--- a/dll/win32/shell32/shellmenu/CMenuSite.cpp
+++ b/dll/win32/shell32/shellmenu/CMenuSite.cpp
@@ -23,8 +23,6 @@
 
 #include "CMenuSite.h"
 
-WINE_DEFAULT_DEBUG_CHANNEL(menusite);
-
 CMenuSite::CMenuSite() :
     m_DeskBarSite(NULL),
     m_BandObject(NULL),
diff --git a/dll/win32/shell32/wine/shellpath.c 
b/dll/win32/shell32/wine/shellpath.c
index 02072e9a85..3e2cd089ad 100644
--- a/dll/win32/shell32/wine/shellpath.c
+++ b/dll/win32/shell32/wine/shellpath.c
@@ -548,8 +548,10 @@ LONG WINAPI PathProcessCommandAW (
 static const WCHAR szCurrentVersion[] = 
{'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\','W','i','n','d','o','w','s','\\','C','u','r','r','e','n','t','V','e','r','s','i','o','n','\0'};
 static const WCHAR Administrative_ToolsW[] = 
{'A','d','m','i','n','i','s','t','r','a','t','i','v','e',' 
','T','o','o','l','s','\0'};
 static const WCHAR AppDataW[] = {'A','p','p','D','a','t','a','\0'};
+#ifndef __REACTOS__
 static const WCHAR AppData_LocalLowW[] = 
{'A','p','p','D','a','t','a','\\','L','o','c','a','l','L','o','w','\0'};
 static const WCHAR Application_DataW[] = 
{'A','p','p','l','i','c','a','t','i','o','n',' ','D','a','t','a','\0'};
+#endif
 static const WCHAR CacheW[] = {'C','a','c','h','e','\0'};
 static const WCHAR CD_BurningW[] = {'C','D',' 
','B','u','r','n','i','n','g','\0'};
 static const WCHAR Common_Administrative_ToolsW[] = {'C','o','m','m','o','n',' 
','A','d','m','i','n','i','s','t','r','a','t','i','v','e',' 
','T','o','o','l','s','\0'};
@@ -566,18 +568,27 @@ static const WCHAR Common_StartUpW[] = 
{'C','o','m','m','o','n',' ','S','t','a',
 static const WCHAR Common_Start_MenuW[] = {'C','o','m','m','o','n',' 
','S','t','a','r','t',' ','M','e','n','u','\0'};
 static const WCHAR Common_TemplatesW[] = {'C','o','m','m','o','n',' 
','T','e','m','p','l','a','t','e','s','\0'};
 static const WCHAR CommonVideoW[] = 
{'C','o','m','m','o','n','V','i','d','e','o','\0'};
+#ifndef __REACTOS__
 static const WCHAR ContactsW[] = {'C','o','n','t','a','c','t','s','\0'};
+#endif
 static const WCHAR CookiesW[] = {'C','o','o','k','i','e','s','\0'};
 static const WCHAR DesktopW[] = {'D','e','s','k','t','o','p','\0'};
+#ifndef __REACTOS__
 static const WCHAR DocumentsW[] = {'D','o','c','u','m','e','n','t','s','\0'};
 static const WCHAR DownloadsW[] = {'D','o','w','n','l','o','a','d','s','\0'};
+#endif
 static const WCHAR FavoritesW[] = {'F','a','v','o','r','i','t','e','s','\0'};
 static const WCHAR FontsW[] = {'F','o','n','t','s','\0'};
 static const WCHAR HistoryW[] = {'H','i','s','t','o','r','y','\0'};
+#ifndef __REACTOS__
 static const WCHAR LinksW[] = {'L','i','n','k','s','\0'};
+#endif
 static const WCHAR Local_AppDataW[] = {'L','o','c','a','l',' 
','A','p','p','D','a','t','a','\0'};
+#ifndef __REACTOS__
 static const WCHAR Local_Settings_Application_DataW[] = {'L','o','c','a','l',' 
','S','e','t','t','i','n','g','s','\\','A','p','p','l','i','c','a','t','i','o','n','
 ','D','a','t','a','\0'};
+#endif
 static const WCHAR Local_Settings_CD_BurningW[] = {'L','o','c','a','l',' 
','S','e','t','t','i','n','g','s','\\','A','p','p','l','i','c','a','t','i','o','n','
 ','D','a','t','a','\\','M','i','c','r','o','s','o','f','t','\\','C','D',' 
','B','u','r','n','i','n','g','\0'};
+#ifndef __REACTOS__
 static const WCHAR Local_Settings_HistoryW[] = {'L','o','c','a','l',' 
','S','e','t','t','i','n','g','s','\\','H','i','s','t','o','r','y','\0'};
 static const WCHAR Local_Settings_Temporary_Internet_FilesW[] = 
{'L','o','c','a','l',' 
','S','e','t','t','i','n','g','s','\\','T','e','m','p','o','r','a','r','y',' 
','I','n','t','e','r','n','e','t',' ','F','i','l','e','s','\0'};
 static const WCHAR Microsoft_Windows_GameExplorerW[] = 
{'M','i','c','r','o','s','o','f','t','\\','W','i','n','d','o','w','s','\\','G','a','m','e','E','x','p','l','o','r','e','r','\0'};
@@ -588,18 +599,23 @@ static const WCHAR Music_PlaylistsW[] = 
{'M','u','s','i','c','\\','P','l','a','y
 static const WCHAR Music_Sample_MusicW[] = 
{'M','u','s','i','c','\\','S','a','m','p','l','e',' ','M','u','s','i','c','\0'};
 static const WCHAR Music_Sample_PlaylistsW[] = 
{'M','u','s','i','c','\\','S','a','m','p','l','e',' 
','P','l','a','y','l','i','s','t','s','\0'};
 static const WCHAR My_DocumentsW[] = {'M','y',' 
','D','o','c','u','m','e','n','t','s','\0'};
+#endif
 static const WCHAR My_MusicW[] = {'M','y',' ','M','u','s','i','c','\0'};
 static const WCHAR My_PicturesW[] = {'M','y',' 
','P','i','c','t','u','r','e','s','\0'};
 static const WCHAR My_VideoW[] = {'M','y',' ','V','i','d','e','o','\0'};
 static const WCHAR NetHoodW[] = {'N','e','t','H','o','o','d','\0'};
 static const WCHAR OEM_LinksW[] = {'O','E','M',' ','L','i','n','k','s','\0'};
 static const WCHAR PersonalW[] = {'P','e','r','s','o','n','a','l','\0'};
+#ifndef __REACTOS__
 static const WCHAR PicturesW[] = {'P','i','c','t','u','r','e','s','\0'};
 static const WCHAR Pictures_Sample_PicturesW[] = 
{'P','i','c','t','u','r','e','s','\\','S','a','m','p','l','e',' 
','P','i','c','t','u','r','e','s','\0'};
 static const WCHAR Pictures_Slide_ShowsW[] = 
{'P','i','c','t','u','r','e','s','\\','S','l','i','d','e',' 
','S','h','o','w','s','\0'};
+#endif
 static const WCHAR PrintHoodW[] = {'P','r','i','n','t','H','o','o','d','\0'};
+#ifndef __REACTOS__
 static const WCHAR Program_FilesW[] = {'P','r','o','g','r','a','m',' 
','F','i','l','e','s','\0'};
 static const WCHAR Program_Files_Common_FilesW[] = 
{'P','r','o','g','r','a','m',' 
','F','i','l','e','s','\\','C','o','m','m','o','n',' 
','F','i','l','e','s','\0'};
+#endif
 static const WCHAR Program_Files_x86W[] = {'P','r','o','g','r','a','m',' 
','F','i','l','e','s',' ','(','x','8','6',')','\0'};
 static const WCHAR Program_Files_x86_Common_FilesW[] = 
{'P','r','o','g','r','a','m',' ','F','i','l','e','s',' 
','(','x','8','6',')','\\','C','o','m','m','o','n',' 
','F','i','l','e','s','\0'};
 static const WCHAR ProgramFilesDirW[] = 
{'P','r','o','g','r','a','m','F','i','l','e','s','D','i','r','\0'};
@@ -607,19 +623,25 @@ static const WCHAR ProgramFilesDirX86W[] = 
{'P','r','o','g','r','a','m','F','i',
 static const WCHAR ProgramsW[] = {'P','r','o','g','r','a','m','s','\0'};
 static const WCHAR RecentW[] = {'R','e','c','e','n','t','\0'};
 static const WCHAR ResourcesW[] = {'R','e','s','o','u','r','c','e','s','\0'};
+#ifndef __REACTOS__
 static const WCHAR Saved_GamesW[] = {'S','a','v','e','d',' 
','G','a','m','e','s','\0'};
 static const WCHAR SearchesW[] = {'S','e','a','r','c','h','e','s','\0'};
+#endif
 static const WCHAR SendToW[] = {'S','e','n','d','T','o','\0'};
 static const WCHAR StartUpW[] = {'S','t','a','r','t','U','p','\0'};
 static const WCHAR Start_MenuW[] = {'S','t','a','r','t',' 
','M','e','n','u','\0'};
+#ifndef __REACTOS__
 static const WCHAR Start_Menu_ProgramsW[] = {'S','t','a','r','t',' 
','M','e','n','u','\\','P','r','o','g','r','a','m','s','\0'};
 static const WCHAR Start_Menu_Admin_ToolsW[] = {'S','t','a','r','t',' 
','M','e','n','u','\\','P','r','o','g','r','a','m','s','\\','A','d','m','i','n','i','s','t','r','a','t','i','v','e','
 ','T','o','o','l','s','\0'};
 static const WCHAR Start_Menu_StartupW[] = {'S','t','a','r','t',' 
','M','e','n','u','\\','P','r','o','g','r','a','m','s','\\','S','t','a','r','t','U','p','\0'};
+#endif
 static const WCHAR TemplatesW[] = {'T','e','m','p','l','a','t','e','s','\0'};
+#ifndef __REACTOS__
 static const WCHAR UsersW[] = {'U','s','e','r','s','\0'};
 static const WCHAR UsersPublicW[] = 
{'U','s','e','r','s','\\','P','u','b','l','i','c','\0'};
 static const WCHAR VideosW[] = {'V','i','d','e','o','s','\0'};
 static const WCHAR Videos_Sample_VideosW[] = 
{'V','i','d','e','o','s','\\','S','a','m','p','l','e',' 
','V','i','d','e','o','s','\0'};
+#endif
 static const WCHAR DefaultW[] = {'.','D','e','f','a','u','l','t','\0'};
 static const WCHAR AllUsersProfileW[] = 
{'%','A','L','L','U','S','E','R','S','P','R','O','F','I','L','E','%','\0'};
 static const WCHAR UserProfileW[] = 
{'%','U','S','E','R','P','R','O','F','I','L','E','%','\0'};
@@ -630,8 +652,10 @@ static const WCHAR AllUsersProfileValueW[] = 
{'A','l','l','U','s','e','r','s','P
 static const WCHAR szSHFolders[] = 
{'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\','W','i','n','d','o','w','s','\\','C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\','E','x','p','l','o','r','e','r','\\','S','h','e','l','l','
 ','F','o','l','d','e','r','s','\0'};
 static const WCHAR szSHUserFolders[] = 
{'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\','W','i','n','d','o','w','s','\\','C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\','E','x','p','l','o','r','e','r','\\','U','s','e','r','
 ','S','h','e','l','l',' ','F','o','l','d','e','r','s','\0'};
 static const WCHAR szDefaultProfileDirW[] = {'u','s','e','r','s',0};
+#ifndef __REACTOS__
 static const WCHAR szKnownFolderDescriptions[] = 
{'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\','W','i','n','d','o','w','s','\\','C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\','E','x','p','l','o','r','e','r','\\','F','o','l','d','e','r','D','e','s','c','r','i','p','t','i','o','n','s','\0'};
 static const WCHAR szKnownFolderRedirections[] = 
{'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\','W','i','n','d','o','w','s','\\','C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\','E','x','p','l','o','r','e','r','\\','U','s','e','r','
 ','S','h','e','l','l',' ','F','o','l','d','e','r','s',0};
+#endif
 static const WCHAR AllUsersW[] = {'P','u','b','l','i','c',0};
 
 typedef enum _CSIDL_Type {

Reply via email to