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
ea6590af
Commit
ea6590af
authored
Apr 23, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Apr 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Remove variable size which is not really used from print_phase_basetype.
parent
878df9a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
typegen.c
tools/widl/typegen.c
+0
-6
No files found.
tools/widl/typegen.c
View file @
ea6590af
...
...
@@ -3279,7 +3279,6 @@ void print_phase_basetype(FILE *file, int indent, const char *local_var_prefix,
const
char
*
varname
)
{
type_t
*
type
=
var
->
type
;
unsigned
int
size
;
unsigned
int
alignment
=
0
;
/* no work to do for other phases, buffer sizing is done elsewhere */
...
...
@@ -3317,14 +3316,12 @@ void print_phase_basetype(FILE *file, int indent, const char *local_var_prefix,
case
RPC_FC_CHAR
:
case
RPC_FC_SMALL
:
case
RPC_FC_USMALL
:
size
=
1
;
alignment
=
1
;
break
;
case
RPC_FC_WCHAR
:
case
RPC_FC_USHORT
:
case
RPC_FC_SHORT
:
size
=
2
;
alignment
=
2
;
break
;
...
...
@@ -3335,13 +3332,11 @@ void print_phase_basetype(FILE *file, int indent, const char *local_var_prefix,
/* pointer_size must be 4 if we got here in these two cases */
case
RPC_FC_INT3264
:
case
RPC_FC_UINT3264
:
size
=
4
;
alignment
=
4
;
break
;
case
RPC_FC_HYPER
:
case
RPC_FC_DOUBLE
:
size
=
8
;
alignment
=
8
;
break
;
...
...
@@ -3353,7 +3348,6 @@ void print_phase_basetype(FILE *file, int indent, const char *local_var_prefix,
default:
error
(
"print_phase_basetype: Unsupported type: %s (0x%02x, ptr_level: 0)
\n
"
,
var
->
name
,
get_basic_fc
(
ref
));
size
=
0
;
}
if
(
phase
==
PHASE_MARSHAL
&&
alignment
>
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