mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 20:05:41 +00:00
msi: Remove an unused parameter from msi_create_table.
This commit is contained in:
parent
df92979b39
commit
80438ef2ce
|
@ -61,7 +61,6 @@ static UINT CREATE_fetch_int( struct tagMSIVIEW *view, UINT row, UINT col, UINT
|
|||
static UINT CREATE_execute( struct tagMSIVIEW *view, MSIRECORD *record )
|
||||
{
|
||||
MSICREATEVIEW *cv = (MSICREATEVIEW*)view;
|
||||
MSITABLE *table;
|
||||
BOOL persist = (cv->bIsTemp) ? MSICONDITION_FALSE : MSICONDITION_TRUE;
|
||||
|
||||
TRACE("%p Table %s (%s)\n", cv, debugstr_w(cv->name),
|
||||
|
@ -70,7 +69,7 @@ static UINT CREATE_execute( struct tagMSIVIEW *view, MSIRECORD *record )
|
|||
if (cv->bIsTemp && !cv->hold)
|
||||
return ERROR_SUCCESS;
|
||||
|
||||
return msi_create_table( cv->db, cv->name, cv->col_info, persist, &table);
|
||||
return msi_create_table( cv->db, cv->name, cv->col_info, persist );
|
||||
}
|
||||
|
||||
static UINT CREATE_close( struct tagMSIVIEW *view )
|
||||
|
|
|
@ -138,6 +138,6 @@ int sqliteGetToken(const WCHAR *z, int *tokenType) DECLSPEC_HIDDEN;
|
|||
MSIRECORD *msi_query_merge_record( UINT fields, const column_info *vl, MSIRECORD *rec ) DECLSPEC_HIDDEN;
|
||||
|
||||
UINT msi_create_table( MSIDATABASE *db, LPCWSTR name, column_info *col_info,
|
||||
MSICONDITION persistent, MSITABLE **table_ret) DECLSPEC_HIDDEN;
|
||||
MSICONDITION persistent ) DECLSPEC_HIDDEN;
|
||||
|
||||
#endif /* __WINE_MSI_QUERY_H */
|
||||
|
|
|
@ -725,7 +725,7 @@ static UINT get_tablecolumns( MSIDATABASE *db, LPCWSTR szTableName, MSICOLUMNINF
|
|||
}
|
||||
|
||||
UINT msi_create_table( MSIDATABASE *db, LPCWSTR name, column_info *col_info,
|
||||
MSICONDITION persistent, MSITABLE **table_ret)
|
||||
MSICONDITION persistent )
|
||||
{
|
||||
enum StringPersistence string_persistence = (persistent) ? StringPersistent : StringNonPersistent;
|
||||
UINT r, nField;
|
||||
|
@ -870,10 +870,7 @@ err:
|
|||
tv->ops->delete( tv );
|
||||
|
||||
if (r == ERROR_SUCCESS)
|
||||
{
|
||||
list_add_head( &db->tables, &table->entry );
|
||||
*table_ret = table;
|
||||
}
|
||||
else
|
||||
free_table( table );
|
||||
|
||||
|
|
Loading…
Reference in a new issue