From acc35ad2242d8acbf5e10deb9f383c317a3cca37 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Wed, 2 Jun 2021 20:42:50 +0200 Subject: [PATCH] main-window: Add default case to switch statement As caught by compiling with `-Wswitch-default` --- src/calls-main-window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/calls-main-window.c b/src/calls-main-window.c index 03590fb..fb2da48 100644 --- a/src/calls-main-window.c +++ b/src/calls-main-window.c @@ -331,6 +331,9 @@ state_changed_cb (CallsMainWindow *self, case CALLS_MANAGER_STATE_NO_PLUGIN: error = _("Can't place calls: No plugin"); break; + + default: + g_assert_not_reached (); } gtk_label_set_text (self->permanent_error_label, error);