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
99e422c9
Commit
99e422c9
authored
Jul 06, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jul 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove dead assignment (Clang).
parent
09eec46d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
database.c
dlls/msi/database.c
+2
-4
registry.c
dlls/msi/registry.c
+0
-1
No files found.
dlls/msi/database.c
View file @
99e422c9
...
...
@@ -1519,7 +1519,7 @@ static LPWSTR create_diff_row_query(MSIDATABASE *merge, MSIQUERY *view,
LPWSTR
table
,
MSIRECORD
*
rec
)
{
LPWSTR
query
=
NULL
,
clause
=
NULL
;
LPWSTR
ptr
=
NULL
,
val
;
LPWSTR
val
;
LPCWSTR
setptr
;
DWORD
size
=
1
,
oldsize
;
LPCWSTR
key
;
...
...
@@ -1542,7 +1542,6 @@ static LPWSTR create_diff_row_query(MSIDATABASE *merge, MSIQUERY *view,
if
(
!
clause
)
goto
done
;
ptr
=
clause
;
count
=
MSI_RecordGetFieldCount
(
keys
);
for
(
i
=
1
;
i
<=
count
;
i
++
)
{
...
...
@@ -1563,8 +1562,7 @@ static LPWSTR create_diff_row_query(MSIDATABASE *merge, MSIQUERY *view,
goto
done
;
}
ptr
=
clause
+
oldsize
-
1
;
sprintfW
(
ptr
,
setptr
,
key
,
val
);
sprintfW
(
clause
+
oldsize
-
1
,
setptr
,
key
,
val
);
msi_free
(
val
);
}
...
...
dlls/msi/registry.c
View file @
99e422c9
...
...
@@ -1769,7 +1769,6 @@ static UINT msi_check_product_patches(LPCWSTR prodcode, LPCWSTR usersid,
if
(
res
!=
ERROR_SUCCESS
)
goto
done
;
ptr
=
patches
;
for
(
ptr
=
patches
;
*
ptr
&&
r
==
ERROR_NO_MORE_ITEMS
;
ptr
+=
lstrlenW
(
ptr
)
+
1
)
{
if
(
!
unsquash_guid
(
ptr
,
patch
))
...
...
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