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
48006f60
Commit
48006f60
authored
Sep 13, 2006
by
Dan Hipschman
Committed by
Alexandre Julliard
Sep 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Remove unused parameter in ctl2_encode_name.
parent
954c592a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
write_msft.c
tools/widl/write_msft.c
+2
-3
No files found.
tools/widl/write_msft.c
View file @
48006f60
...
...
@@ -329,7 +329,6 @@ static int ctl2_encode_name(
* safe in the slightest.
*/
static
int
ctl2_encode_string
(
msft_typelib_t
*
typelib
,
/* [I] The typelib to operate against (not used?). */
const
char
*
string
,
/* [I] The string to encode. */
char
**
result
)
/* [O] A pointer to a pointer to receive the encoded string. */
{
...
...
@@ -559,7 +558,7 @@ static int ctl2_alloc_string(
char
*
string_space
;
char
*
encoded_string
;
length
=
ctl2_encode_string
(
typelib
,
string
,
&
encoded_string
);
length
=
ctl2_encode_string
(
string
,
&
encoded_string
);
for
(
offset
=
0
;
offset
<
typelib
->
typelib_segdir
[
MSFT_SEG_STRING
].
length
;
offset
+=
((((
typelib
->
typelib_segment_data
[
MSFT_SEG_STRING
][
offset
+
1
]
<<
8
)
&
0xff
)
...
...
@@ -633,7 +632,7 @@ static int alloc_importfile(
MSFT_ImpFile
*
importfile
;
char
*
encoded_string
;
length
=
ctl2_encode_string
(
typelib
,
filename
,
&
encoded_string
);
length
=
ctl2_encode_string
(
filename
,
&
encoded_string
);
encoded_string
[
0
]
<<=
2
;
encoded_string
[
0
]
|=
1
;
...
...
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