unreal-sdk: legacy code warnings
This commit is contained in:
parent
3ffbcb0849
commit
6185591836
|
@ -160,7 +160,7 @@ impl Package {
|
||||||
.get_full_name()
|
.get_full_name()
|
||||||
.context("failed to get struct or class full name")?;
|
.context("failed to get struct or class full name")?;
|
||||||
|
|
||||||
let is_actor = strct
|
let _is_actor = strct
|
||||||
.iter_super_structs()
|
.iter_super_structs()
|
||||||
.contains(&unsafe { actor_static_class().unwrap().cast() })
|
.contains(&unsafe { actor_static_class().unwrap().cast() })
|
||||||
|| Some(strct) == actor_static_class().map(|class| unsafe { class.cast() });
|
|| Some(strct) == actor_static_class().map(|class| unsafe { class.cast() });
|
||||||
|
@ -176,8 +176,8 @@ impl Package {
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
|
|
||||||
let properties_size = *strct.property_size();
|
let _properties_size = *strct.property_size();
|
||||||
let min_alignment = *strct.min_alignment();
|
let _min_alignment = *strct.min_alignment();
|
||||||
|
|
||||||
let (fields, methods) = self.process_children(strct)?;
|
let (fields, methods) = self.process_children(strct)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue