Cleanup: unused functions

This commit is contained in:
Campbell Barton 2018-04-19 18:14:01 +02:00
parent bca7563d07
commit c0a7fef591
3 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;
}