Cleanup - size_t is unsigned, so always >= 0!

This commit is contained in:
Bastien Montagne 2016-06-07 21:53:17 +02:00
parent 5bd9e83289
commit 9081adf097
1 changed files with 0 additions and 2 deletions

View File

@ -1853,8 +1853,6 @@ static CustomDataLayer *customData_add_layer__internal(CustomData *data, int typ
(alloctype == CD_DUPLICATE) ||
(alloctype == CD_REFERENCE));
BLI_assert(size >= 0);
if (!typeInfo->defaultname && CustomData_has_layer(data, type))
return &data->layers[CustomData_get_layer_index(data, type)];