diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 19:14:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 19:14:01 +0300 |
commit | c0a7fef59155a453af69732f40fc487fa7d650f0 (patch) | |
tree | c20da560e06e90e8f32a38d9eb467aee59e4ea2a /source/blender | |
parent | bca7563d072f111807fd384d5cf0fcf9d91eccb1 (diff) |
Cleanup: unused functions
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/editderivedmesh.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/subsurf_ccg.c | 2 | ||||
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_materials.c | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/editderivedmesh.c b/source/blender/blenkernel/intern/editderivedmesh.c index 3b9d5c47ad2..1e211d1c4af 100644 --- a/source/blender/blenkernel/intern/editderivedmesh.c +++ b/source/blender/blenkernel/intern/editderivedmesh.c @@ -59,8 +59,6 @@ #include "MEM_guardedalloc.h" -static void bmdm_get_tri_colpreview(BMLoop *ls[3], MLoopCol *lcol[3], unsigned char(*color_vert_array)[4]); - typedef struct EditDerivedBMesh { DerivedMesh dm; diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c index ec6a558cd14..ed23078a9d8 100644 --- a/source/blender/blenkernel/intern/subsurf_ccg.c +++ b/source/blender/blenkernel/intern/subsurf_ccg.c @@ -1769,7 +1769,7 @@ static void ccgDM_foreachMappedLoop( } } -static void ccgdm_pbvh_update(CCGDerivedMesh *ccgdm) +static void UNUSED_FUNCTION(ccgdm_pbvh_update)(CCGDerivedMesh *ccgdm) { if (ccgdm->pbvh && ccgDM_use_grid_pbvh(ccgdm)) { CCGFace **faces; diff --git a/source/blender/draw/engines/workbench/workbench_materials.c b/source/blender/draw/engines/workbench/workbench_materials.c index ea866169e96..43872e521ef 100644 --- a/source/blender/draw/engines/workbench/workbench_materials.c +++ b/source/blender/draw/engines/workbench/workbench_materials.c @@ -55,7 +55,7 @@ static uint get_material_hash(const float color[3]) return r + g * 4096 + b * 4096 * 4096; } -static const float* get_material_solid_color(WORKBENCH_PrivateData *wpd, Object *ob) +static const float* get_material_solid_color(WORKBENCH_PrivateData *UNUSED(wpd), Object *ob) { return ob->col; } |