Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
80438ef2
Commit
80438ef2
authored
Sep 23, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove an unused parameter from msi_create_table.
parent
df92979b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
create.c
dlls/msi/create.c
+1
-2
query.h
dlls/msi/query.h
+1
-1
table.c
dlls/msi/table.c
+1
-4
No files found.
dlls/msi/create.c
View file @
80438ef2
...
...
@@ -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
)
...
...
dlls/msi/query.h
View file @
80438ef2
...
...
@@ -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 */
dlls/msi/table.c
View file @
80438ef2
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment