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
b1d47933
Commit
b1d47933
authored
Nov 21, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove unused variables.
parent
6256379a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
files.c
dlls/msi/files.c
+3
-4
No files found.
dlls/msi/files.c
View file @
b1d47933
...
...
@@ -69,7 +69,6 @@ static msi_file_state calculate_install_state( MSIPACKAGE *package, MSIFILE *fil
VS_FIXEDFILEINFO
*
file_version
;
WCHAR
*
font_version
;
msi_file_state
state
;
DWORD
file_size
;
comp
->
Action
=
msi_get_component_action
(
package
,
comp
);
if
(
comp
->
Action
!=
INSTALLSTATE_LOCAL
||
(
comp
->
assembly
&&
comp
->
assembly
->
installed
))
...
...
@@ -118,7 +117,7 @@ static msi_file_state calculate_install_state( MSIPACKAGE *package, MSIFILE *fil
return
state
;
}
}
if
(
(
file_size
=
msi_get_disk_file_size
(
file
->
TargetPath
)
)
!=
file
->
FileSize
)
if
(
msi_get_disk_file_size
(
file
->
TargetPath
)
!=
file
->
FileSize
)
{
return
msifs_overwrite
;
}
...
...
@@ -781,7 +780,7 @@ static UINT ITERATE_MoveFiles( MSIRECORD *rec, LPVOID param )
LPWSTR
sourcedir
,
destname
=
NULL
,
destdir
=
NULL
,
source
=
NULL
,
dest
=
NULL
;
int
options
;
DWORD
size
;
BOOL
ret
,
wildcards
;
BOOL
wildcards
;
component
=
MSI_RecordGetString
(
rec
,
2
);
comp
=
msi_get_loaded_component
(
package
,
component
);
...
...
@@ -863,7 +862,7 @@ static UINT ITERATE_MoveFiles( MSIRECORD *rec, LPVOID param )
if
(
GetFileAttributesW
(
destdir
)
==
INVALID_FILE_ATTRIBUTES
)
{
if
(
!
(
ret
=
msi_create_full_path
(
destdir
)
))
if
(
!
msi_create_full_path
(
destdir
))
{
WARN
(
"failed to create directory %u
\n
"
,
GetLastError
());
goto
done
;
...
...
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