dlls/msi/msi.c -- remove unused parameter
Gerald Pfeifer
gerald at pfeifer.com
Sun Feb 17 14:22:44 CST 2008
This function is only used internally. One of the experts for this code
may want to weigh in whether this was planned for future enhancements,
but the code hasn't changed for a while.
Gerald
ChangeLog:
Remove unsigned parameter to msi_comp_find_prodcode().
Index: dlls/msi/msi.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.c,v
retrieving revision 1.197
diff -u -3 -p -r1.197 msi.c
--- dlls/msi/msi.c 15 Feb 2008 11:37:46 -0000 1.197
+++ dlls/msi/msi.c 17 Feb 2008 20:19:06 -0000
@@ -900,7 +900,7 @@ static BOOL msi_comp_find_package(LPCWST
return (res == ERROR_SUCCESS);
}
-static BOOL msi_comp_find_prodcode(LPCWSTR prodcode, LPWSTR squished_pc,
+static BOOL msi_comp_find_prodcode(LPWSTR squished_pc,
MSIINSTALLCONTEXT context,
LPCWSTR comp, DWORD *sz)
{
@@ -960,7 +960,7 @@ UINT WINAPI MsiQueryComponentStateW(LPCW
*pdwState = INSTALLSTATE_UNKNOWN;
- if (!msi_comp_find_prodcode(szProductCode, squished_pc, dwContext, szComponent, &sz))
+ if (!msi_comp_find_prodcode(squished_pc, dwContext, szComponent, &sz))
return ERROR_UNKNOWN_COMPONENT;
if (sz == 0)
More information about the wine-patches
mailing list