diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-07 04:50:10 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-07 04:50:10 +0300 |
commit | 56ede578e743af42ab8682a01e1f346c1acef0df (patch) | |
tree | 821a2a1f74ac4876675795f99286650e22187426 /source/blender/nodes/geometry | |
parent | 7c511f1b47d857f37aa36ee6ed8107cb88eb5c39 (diff) |
Cleanup: compiler warnings: unused args, missing include, parenthesis
Diffstat (limited to 'source/blender/nodes/geometry')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_input_instance_rotation.cc | 4 | ||||
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_input_instance_scale.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_instance_rotation.cc b/source/blender/nodes/geometry/nodes/node_geo_input_instance_rotation.cc index a6d6722ae2a..4c7a148a797 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_input_instance_rotation.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_input_instance_rotation.cc @@ -16,8 +16,8 @@ class VectorFieldInput final : public GeometryFieldInput { } GVArray get_varray_for_context(const GeometryComponent &component, - const eAttrDomain domain, - IndexMask mask) const final + const eAttrDomain UNUSED(domain), + IndexMask UNUSED(mask)) const final { if (component.type() != GEO_COMPONENT_TYPE_INSTANCES) { return {}; diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_instance_scale.cc b/source/blender/nodes/geometry/nodes/node_geo_input_instance_scale.cc index f2abc592f72..b3a362fbf3e 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_input_instance_scale.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_input_instance_scale.cc @@ -16,8 +16,8 @@ class VectorFieldInput final : public GeometryFieldInput { } GVArray get_varray_for_context(const GeometryComponent &component, - const eAttrDomain domain, - IndexMask mask) const final + const eAttrDomain UNUSED(domain), + IndexMask UNUSED(mask)) const final { if (component.type() != GEO_COMPONENT_TYPE_INSTANCES) { return {}; |