PATCH: dlls/shlwapi/reg.c

Gerald Pfeifer gerald at pfeifer.com
Wed Oct 15 01:43:13 CDT 2003


Tested on SuSE Linux 8.2 and FreeBSD 4.8.

ChangeLog:
Remove unused variable szMimeDbContentW.
Index: reg.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/reg.c,v
retrieving revision 1.42
diff -u -3 -p -r1.42 reg.c
--- reg.c	7 Oct 2003 22:54:17 -0000	1.42
+++ reg.c	15 Oct 2003 06:41:36 -0000
@@ -37,10 +37,7 @@ static const char *lpszContentTypeA = "C
 static const WCHAR lpszContentTypeW[] = { 'C','o','n','t','e','n','t',' ','T','y','p','e','\0'};

 static const char *szMimeDbContentA = "MIME\\Database\\Content Type\\";
-static const WCHAR szMimeDbContentW[] = { 'M', 'I', 'M','E','\\',
-  'D','a','t','a','b','a','s','e','\\','C','o','n','t','e','n','t',
-  ' ','T','y','p','e','\\', 0 };
-static const DWORD dwLenMimeDbContent = 27; /* strlen of szMimeDbContentA/W */
+static const DWORD dwLenMimeDbContent = 27; /* strlen of szMimeDbContentA */

 static const char *szExtensionA = "Extension";
 static const WCHAR szExtensionW[] = { 'E', 'x', 't','e','n','s','i','o','n','\0' };



More information about the wine-patches mailing list