Silence warning in release mode

This commit is contained in:
Sergey Sharybin 2018-09-07 11:55:55 +02:00
parent dfeff72af7
commit db259e0889
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ static int grid_size_for_level_get(const SubdivCCG *subdiv_ccg, int level)
{
BLI_assert(level >= 1);
BLI_assert(level <= subdiv_ccg->level);
UNUSED_VARS_NDEBUG(subdiv_ccg);
return (1 << (level - 1)) + 1;
}