array: clean up a warning

This commit is contained in:
Ray Strode 2011-02-09 14:32:43 -05:00
parent bc2ca39595
commit 3fd95f5be1

View file

@ -78,6 +78,8 @@ ply_array_get_size (ply_array_t *array)
{
int size;
assert (array->element_type == PLY_ARRAY_ELEMENT_TYPE_POINTER ||
array->element_type == PLY_ARRAY_ELEMENT_TYPE_UINT32);
switch (array->element_type)
{