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
c0ebae42
Commit
c0ebae42
authored
Jul 07, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Fix a couple of uninitialized variable compiler warnings.
parent
6f8749b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
typegen.c
tools/widl/typegen.c
+5
-4
No files found.
tools/widl/typegen.c
View file @
c0ebae42
...
...
@@ -984,7 +984,7 @@ static void write_user_tfs(FILE *file, type_t *type, unsigned int *tfsoff)
{
unsigned
int
start
,
absoff
,
flags
;
unsigned
int
align
=
0
,
ualign
=
0
;
const
char
*
name
;
const
char
*
name
=
NULL
;
type_t
*
utype
=
get_user_type
(
type
,
&
name
);
size_t
usize
=
user_type_has_variable_size
(
utype
)
?
0
:
type_memsize
(
utype
,
&
ualign
);
size_t
size
=
type_memsize
(
type
,
&
align
);
...
...
@@ -2457,11 +2457,12 @@ void write_typeformatstring(FILE *file, const statement_list_t *stmts, type_pred
static
unsigned
int
get_required_buffer_size_type
(
const
type_t
*
type
,
const
char
*
name
,
unsigned
int
*
alignment
)
{
const
char
*
uname
;
const
type_t
*
utype
;
*
alignment
=
0
;
if
(
is_user_type
(
type
))
if
(
(
utype
=
get_user_type
(
type
,
&
uname
)
))
{
const
char
*
uname
;
const
type_t
*
utype
=
get_user_type
(
type
,
&
uname
);
return
get_required_buffer_size_type
(
utype
,
uname
,
alignment
);
}
else
...
...
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