mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-06 11:35:32 +00:00
call-display: Add default case to switch statement
As caught by compiling with `-Wswitch-default`
This commit is contained in:
parent
6c146897d4
commit
f097a39e04
1 changed files with 6 additions and 0 deletions
|
@ -263,6 +263,9 @@ call_state_changed_cb (CallsCallDisplay *self,
|
|||
select_mode_complete,
|
||||
NULL);
|
||||
break;
|
||||
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
||||
/* Status text */
|
||||
|
@ -288,6 +291,9 @@ call_state_changed_cb (CallsCallDisplay *self,
|
|||
case CALLS_CALL_STATE_DISCONNECTED:
|
||||
stop_timeout (self);
|
||||
break;
|
||||
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue