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
be8d0bbb
Commit
be8d0bbb
authored
May 01, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove variable product_code which is not really used from MSI_ApplyPatchW.
parent
effda58a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
msi.c
dlls/msi/msi.c
+1
-3
No files found.
dlls/msi/msi.c
View file @
be8d0bbb
...
@@ -304,7 +304,7 @@ static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWS
...
@@ -304,7 +304,7 @@ static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWS
MSIHANDLE
patch
=
0
,
info
=
0
;
MSIHANDLE
patch
=
0
,
info
=
0
;
UINT
r
=
ERROR_SUCCESS
,
type
;
UINT
r
=
ERROR_SUCCESS
,
type
;
DWORD
size
=
0
;
DWORD
size
=
0
;
LPCWSTR
cmd_ptr
=
szCommandLine
,
product_code
=
szProductCode
;
LPCWSTR
cmd_ptr
=
szCommandLine
;
LPWSTR
beg
,
end
,
cmd
=
NULL
,
codes
=
NULL
;
LPWSTR
beg
,
end
,
cmd
=
NULL
,
codes
=
NULL
;
BOOL
succeeded
=
FALSE
;
BOOL
succeeded
=
FALSE
;
...
@@ -341,8 +341,6 @@ static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWS
...
@@ -341,8 +341,6 @@ static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWS
r
=
MsiSummaryInfoGetPropertyW
(
info
,
PID_TEMPLATE
,
&
type
,
NULL
,
NULL
,
codes
,
&
size
);
r
=
MsiSummaryInfoGetPropertyW
(
info
,
PID_TEMPLATE
,
&
type
,
NULL
,
NULL
,
codes
,
&
size
);
if
(
r
!=
ERROR_SUCCESS
)
if
(
r
!=
ERROR_SUCCESS
)
goto
done
;
goto
done
;
product_code
=
codes
;
}
}
if
(
!
szCommandLine
)
if
(
!
szCommandLine
)
...
...
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