Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d8158937
Commit
d8158937
authored
May 25, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
May 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Remove set but unused variable.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5317f869
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
write_msft.c
tools/widl/write_msft.c
+1
-2
No files found.
tools/widl/write_msft.c
View file @
d8158937
...
...
@@ -1056,7 +1056,7 @@ static int encode_var(
var
,
type
,
type
->
name
?
type
->
name
:
"NULL"
);
if
(
is_array
(
type
)
&&
!
type_array_is_decl_as_ptr
(
type
))
{
int
num_dims
,
elements
=
1
,
arrayoffset
;
int
num_dims
,
arrayoffset
;
type_t
*
atype
;
int
*
arraydata
;
...
...
@@ -1083,7 +1083,6 @@ static int encode_var(
arraydata
[
0
]
=
type_array_get_dim
(
atype
);
arraydata
[
1
]
=
0
;
arraydata
+=
2
;
elements
*=
type_array_get_dim
(
atype
);
}
typeoffset
=
ctl2_alloc_segment
(
typelib
,
MSFT_SEG_TYPEDESC
,
8
,
0
);
...
...
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