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:
Chun-wei Fan 2011-12-07 17:52:47 +08:00 committed by Neil Roberts
parent dba42715d4
commit 1be2cdab21

View File

@ -258,7 +258,7 @@ _cogl_bitmask_set_flags (const CoglBitmask *bitmask,
unsigned long *flags)
{
if (_cogl_bitmask_has_array (bitmask))
return _cogl_bitmask_set_flags_array (bitmask, flags);
_cogl_bitmask_set_flags_array (bitmask, flags);
else
flags[0] |= _cogl_bitmask_to_bits (bitmask);
}