mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
ui: Fix undefined variable warning
gcc is super smart and notices that we don't have a default case here.
This commit is contained in:
parent
3471ef3441
commit
656fe49dbe
@ -656,6 +656,7 @@ get_button_rect (MetaButtonType type,
|
|||||||
*rect = fgeom->appmenu_rect.visible;
|
*rect = fgeom->appmenu_rect.visible;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
case META_BUTTON_TYPE_LAST:
|
case META_BUTTON_TYPE_LAST:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user