call-display: Add default case to switch statement
As caught by compiling with `-Wswitch-default`
This commit is contained in:
@@ -263,6 +263,9 @@ call_state_changed_cb (CallsCallDisplay *self,
|
|||||||
select_mode_complete,
|
select_mode_complete,
|
||||||
NULL);
|
NULL);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Status text */
|
/* Status text */
|
||||||
@@ -288,6 +291,9 @@ call_state_changed_cb (CallsCallDisplay *self,
|
|||||||
case CALLS_CALL_STATE_DISCONNECTED:
|
case CALLS_CALL_STATE_DISCONNECTED:
|
||||||
stop_timeout (self);
|
stop_timeout (self);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user