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
aec97287
Commit
aec97287
authored
Jun 10, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove redundant function find_feature_by_name.
parent
6efc9f92
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
+3
-19
action.c
dlls/msi/action.c
+3
-19
No files found.
dlls/msi/action.c
View file @
aec97287
...
@@ -1081,22 +1081,6 @@ static UINT iterate_load_featurecomponents(MSIRECORD *row, LPVOID param)
...
@@ -1081,22 +1081,6 @@ static UINT iterate_load_featurecomponents(MSIRECORD *row, LPVOID param)
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
static
MSIFEATURE
*
find_feature_by_name
(
MSIPACKAGE
*
package
,
LPCWSTR
name
)
{
MSIFEATURE
*
feature
;
if
(
!
name
)
return
NULL
;
LIST_FOR_EACH_ENTRY
(
feature
,
&
package
->
features
,
MSIFEATURE
,
entry
)
{
if
(
!
strcmpW
(
feature
->
Feature
,
name
)
)
return
feature
;
}
return
NULL
;
}
static
UINT
load_feature
(
MSIRECORD
*
row
,
LPVOID
param
)
static
UINT
load_feature
(
MSIRECORD
*
row
,
LPVOID
param
)
{
{
MSIPACKAGE
*
package
=
param
;
MSIPACKAGE
*
package
=
param
;
...
@@ -1159,17 +1143,17 @@ static UINT load_feature(MSIRECORD * row, LPVOID param)
...
@@ -1159,17 +1143,17 @@ static UINT load_feature(MSIRECORD * row, LPVOID param)
static
UINT
find_feature_children
(
MSIRECORD
*
row
,
LPVOID
param
)
static
UINT
find_feature_children
(
MSIRECORD
*
row
,
LPVOID
param
)
{
{
MSIPACKAGE
*
package
=
param
;
MSIPACKAGE
*
package
=
param
;
MSIFEATURE
*
parent
,
*
child
;
MSIFEATURE
*
parent
,
*
child
;
child
=
find_feature_by_nam
e
(
package
,
MSI_RecordGetString
(
row
,
1
)
);
child
=
msi_get_loaded_featur
e
(
package
,
MSI_RecordGetString
(
row
,
1
)
);
if
(
!
child
)
if
(
!
child
)
return
ERROR_FUNCTION_FAILED
;
return
ERROR_FUNCTION_FAILED
;
if
(
!
child
->
Feature_Parent
)
if
(
!
child
->
Feature_Parent
)
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
parent
=
find_feature_by_nam
e
(
package
,
child
->
Feature_Parent
);
parent
=
msi_get_loaded_featur
e
(
package
,
child
->
Feature_Parent
);
if
(
!
parent
)
if
(
!
parent
)
return
ERROR_FUNCTION_FAILED
;
return
ERROR_FUNCTION_FAILED
;
...
...
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