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
534f20bc
Commit
534f20bc
authored
Oct 19, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Get rid of some redundant initializations.
parent
b7a81df4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
15 deletions
+0
-15
database.c
dlls/msi/database.c
+0
-2
msiquery.c
dlls/msi/msiquery.c
+0
-2
package.c
dlls/msi/package.c
+0
-9
preview.c
dlls/msi/preview.c
+0
-1
suminfo.c
dlls/msi/suminfo.c
+0
-1
No files found.
dlls/msi/database.c
View file @
534f20bc
...
...
@@ -191,8 +191,6 @@ UINT MSI_OpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIDATABASE **pdb)
db
->
mode
=
szMode
;
if
(
created
)
db
->
deletefile
=
strdupW
(
szDBPath
);
else
db
->
deletefile
=
NULL
;
list_init
(
&
db
->
tables
);
list_init
(
&
db
->
transforms
);
...
...
dlls/msi/msiquery.c
View file @
534f20bc
...
...
@@ -126,9 +126,7 @@ UINT MSI_DatabaseOpenViewW(MSIDATABASE *db,
return
ERROR_FUNCTION_FAILED
;
msiobj_addref
(
&
db
->
hdr
);
query
->
row
=
0
;
query
->
db
=
db
;
query
->
view
=
NULL
;
list_init
(
&
query
->
mem
);
r
=
MSI_ParseSQL
(
db
,
szQuery
,
&
query
->
view
,
&
query
->
mem
);
...
...
dlls/msi/package.c
View file @
534f20bc
...
...
@@ -744,15 +744,6 @@ static MSIPACKAGE *msi_alloc_package( void )
list_init
(
&
package
->
RunningActions
);
list_init
(
&
package
->
sourcelist_info
);
list_init
(
&
package
->
sourcelist_media
);
package
->
patch
=
NULL
;
package
->
ActionFormat
=
NULL
;
package
->
LastAction
=
NULL
;
package
->
dialog
=
NULL
;
package
->
next_dialog
=
NULL
;
package
->
scheduled_action_running
=
FALSE
;
package
->
commit_action_running
=
FALSE
;
package
->
rollback_action_running
=
FALSE
;
}
return
package
;
...
...
dlls/msi/preview.c
View file @
534f20bc
...
...
@@ -54,7 +54,6 @@ static MSIPREVIEW *MSI_EnableUIPreview( MSIDATABASE *db )
if
(
preview
)
{
preview
->
package
=
package
;
preview
->
dialog
=
0
;
msiobj_addref
(
&
package
->
hdr
);
}
msiobj_release
(
&
package
->
hdr
);
...
...
dlls/msi/suminfo.c
View file @
534f20bc
...
...
@@ -443,7 +443,6 @@ MSISUMMARYINFO *MSI_GetSummaryInformationW( IStorage *stg, UINT uiUpdateCount )
if
(
!
si
)
return
si
;
memset
(
si
->
property
,
0
,
sizeof
si
->
property
);
si
->
update_count
=
uiUpdateCount
;
IStorage_AddRef
(
stg
);
si
->
storage
=
stg
;
...
...
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