mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 18:18:05 +02:00
array: clean up a warning
This commit is contained in:
parent
bc2ca39595
commit
3fd95f5be1
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue