mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-03 01:51:48 +00:00
widl: Remove set but unused variable.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5317f869e0
commit
d81589371d
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue