Commit 80438ef2 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Remove an unused parameter from msi_create_table.

parent df92979b
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment