diff options
author | Campbell Barton <campbell@blender.org> | 2022-10-12 02:27:27 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-10-12 02:39:12 +0300 |
commit | 984b279ef143c82d1f45cbd3e846aa15bcd47997 (patch) | |
tree | 83a24a6c133851a538da75aa341c74351e3431c5 /source/blender/modifiers/intern/MOD_uvproject.cc | |
parent | 89bd261d9e617da15a48d14c722475416e2709ae (diff) |
Cleanup: use commented arguments for unused args in C++
Diffstat (limited to 'source/blender/modifiers/intern/MOD_uvproject.cc')
-rw-r--r-- | source/blender/modifiers/intern/MOD_uvproject.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_uvproject.cc b/source/blender/modifiers/intern/MOD_uvproject.cc index 248b7b48a7c..9861b318e82 100644 --- a/source/blender/modifiers/intern/MOD_uvproject.cc +++ b/source/blender/modifiers/intern/MOD_uvproject.cc @@ -52,7 +52,7 @@ static void initData(ModifierData *md) MEMCPY_STRUCT_AFTER(umd, DNA_struct_default_get(UVProjectModifierData), modifier); } -static void requiredDataMask(ModifierData *UNUSED(md), CustomData_MeshMasks *r_cddata_masks) +static void requiredDataMask(ModifierData * /*md*/, CustomData_MeshMasks *r_cddata_masks) { /* ask for UV coordinates */ r_cddata_masks->lmask |= CD_MASK_MLOOPUV; @@ -90,7 +90,7 @@ struct Projector { }; static Mesh *uvprojectModifier_do(UVProjectModifierData *umd, - const ModifierEvalContext *UNUSED(ctx), + const ModifierEvalContext * /*ctx*/, Object *ob, Mesh *mesh) { @@ -298,7 +298,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh * return result; } -static void panel_draw(const bContext *UNUSED(C), Panel *panel) +static void panel_draw(const bContext * /*C*/, Panel *panel) { uiLayout *sub; uiLayout *layout = panel->layout; |