MSI: remove some unused code
Mike McCormack
mike at codeweavers.com
Mon May 30 07:57:39 CDT 2005
ChangeLog:
* remove some unused code
-------------- next part --------------
Index: dlls/msi/action.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/action.c,v
retrieving revision 1.125
diff -u -p -r1.125 action.c
--- dlls/msi/action.c 27 May 2005 19:24:22 -0000 1.125
+++ dlls/msi/action.c 30 May 2005 12:51:09 -0000
@@ -8098,40 +8098,3 @@ UINT WINAPI MsiGetComponentStateW(MSIHAN
msiobj_release( &package->hdr );
return ret;
}
-
-#if 0
-static UINT ACTION_Template(MSIPACKAGE *package)
-{
- UINT rc;
- MSIQUERY * view;
- MSIRECORD * row = 0;
- static const WCHAR ExecSeqQuery[] = {0};
-
- rc = MSI_DatabaseOpenViewW(package->db, ExecSeqQuery, &view);
- if (rc != ERROR_SUCCESS)
- return rc;
-
- rc = MSI_ViewExecute(view, 0);
- if (rc != ERROR_SUCCESS)
- {
- MSI_ViewClose(view);
- msiobj_release(&view->hdr);
- return rc;
- }
-
- while (1)
- {
- rc = MSI_ViewFetch(view,&row);
- if (rc != ERROR_SUCCESS)
- {
- rc = ERROR_SUCCESS;
- break;
- }
-
- msiobj_release(&row->hdr);
- }
- MSI_ViewClose(view);
- msiobj_release(&view->hdr);
- return rc;
-}
-#endif
Index: dlls/msi/query.h
===================================================================
RCS file: /home/wine/wine/dlls/msi/query.h,v
retrieving revision 1.18
diff -u -p -r1.18 query.h
--- dlls/msi/query.h 30 May 2005 11:32:18 -0000 1.18
+++ dlls/msi/query.h 30 May 2005 12:51:10 -0000
@@ -89,12 +89,6 @@ struct expr
} u;
};
-typedef struct _value_list
-{
- struct expr *val;
- struct _value_list *next;
-} value_list;
-
UINT MSI_ParseSQL( MSIDATABASE *db, LPCWSTR command, MSIVIEW **phview,
struct list *mem );
More information about the wine-patches
mailing list