mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
cogl-bitmask.h: Eliminate compiler warning
Both _cogl_bitmask_set_flags and _cogl_bitmask_set_flags_array have void return types, so just execute _cogl_bitmask_set_flags_array without returning that to elimate a compiler warning. https://bugzilla.gnome.org/show_bug.cgi?id=665722 Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
dba42715d4
commit
1be2cdab21
@ -258,7 +258,7 @@ _cogl_bitmask_set_flags (const CoglBitmask *bitmask,
|
|||||||
unsigned long *flags)
|
unsigned long *flags)
|
||||||
{
|
{
|
||||||
if (_cogl_bitmask_has_array (bitmask))
|
if (_cogl_bitmask_has_array (bitmask))
|
||||||
return _cogl_bitmask_set_flags_array (bitmask, flags);
|
_cogl_bitmask_set_flags_array (bitmask, flags);
|
||||||
else
|
else
|
||||||
flags[0] |= _cogl_bitmask_to_bits (bitmask);
|
flags[0] |= _cogl_bitmask_to_bits (bitmask);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user