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
9299319b
Commit
9299319b
authored
Jul 07, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove some dead assignments (clang).
parent
7f199e81
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
9 deletions
+6
-9
database.c
dlls/msi/database.c
+5
-6
font.c
dlls/msi/font.c
+0
-1
record.c
dlls/msi/record.c
+1
-1
table.c
dlls/msi/table.c
+0
-1
No files found.
dlls/msi/database.c
View file @
9299319b
...
...
@@ -1518,11 +1518,9 @@ static LPWSTR get_key_value(MSIQUERY *view, LPCWSTR key, MSIRECORD *rec)
static
LPWSTR
create_diff_row_query
(
MSIDATABASE
*
merge
,
MSIQUERY
*
view
,
LPWSTR
table
,
MSIRECORD
*
rec
)
{
LPWSTR
query
=
NULL
,
clause
=
NULL
;
LPWSTR
val
;
LPCWSTR
setptr
;
DWORD
size
=
1
,
oldsize
;
LPCWSTR
key
;
LPWSTR
query
=
NULL
,
clause
=
NULL
,
val
;
LPCWSTR
setptr
,
key
;
DWORD
size
,
oldsize
;
MSIRECORD
*
keys
;
UINT
r
,
i
,
count
;
...
...
@@ -1538,10 +1536,11 @@ static LPWSTR create_diff_row_query(MSIDATABASE *merge, MSIQUERY *view,
if
(
r
!=
ERROR_SUCCESS
)
return
NULL
;
clause
=
msi_alloc_zero
(
size
*
size
of
(
WCHAR
));
clause
=
msi_alloc_zero
(
sizeof
(
WCHAR
));
if
(
!
clause
)
goto
done
;
size
=
1
;
count
=
MSI_RecordGetFieldCount
(
keys
);
for
(
i
=
1
;
i
<=
count
;
i
++
)
{
...
...
dlls/msi/font.c
View file @
9299319b
...
...
@@ -136,7 +136,6 @@ static WCHAR *load_ttf_name_id( const WCHAR *filename, DWORD id )
ttNTHeader
.
uNRCount
=
SWAPWORD
(
ttNTHeader
.
uNRCount
);
ttNTHeader
.
uStorageOffset
=
SWAPWORD
(
ttNTHeader
.
uStorageOffset
);
bFound
=
FALSE
;
for
(
i
=
0
;
i
<
ttNTHeader
.
uNRCount
;
i
++
)
{
if
(
!
ReadFile
(
handle
,
&
ttRecord
,
sizeof
(
TT_NAME_RECORD
),
&
dwRead
,
NULL
))
...
...
dlls/msi/record.c
View file @
9299319b
...
...
@@ -833,7 +833,7 @@ UINT MSI_RecordReadStream(MSIRECORD *rec, UINT iField, char *buf, LPDWORD sz)
ofs
.
QuadPart
=
cur
.
QuadPart
=
0
;
end
.
QuadPart
=
0
;
r
=
IStream_Seek
(
stm
,
ofs
,
STREAM_SEEK_SET
,
&
cur
);
IStream_Seek
(
stm
,
ofs
,
STREAM_SEEK_SET
,
&
cur
);
IStream_Seek
(
stm
,
ofs
,
STREAM_SEEK_END
,
&
end
);
ofs
.
QuadPart
=
cur
.
QuadPart
;
IStream_Seek
(
stm
,
ofs
,
STREAM_SEEK_SET
,
&
cur
);
...
...
dlls/msi/table.c
View file @
9299319b
...
...
@@ -2746,7 +2746,6 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg,
debugstr_w
(
name
),
tv
->
num_cols
,
tv
->
row_size
,
rawsize
);
/* interpret the data */
r
=
ERROR_SUCCESS
;
for
(
n
=
0
;
n
<
rawsize
;
)
{
mask
=
rawdata
[
n
]
|
(
rawdata
[
n
+
1
]
<<
8
);
...
...
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