mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -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;
|
||||
break;
|
||||
|
||||
default:
|
||||
case META_BUTTON_TYPE_LAST:
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user