[calls/wip/compiler-warnings: 11/12] main-window: Add default case to switch statement
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls/wip/compiler-warnings: 11/12] main-window: Add default case to switch statement
- Date: Fri, 16 Jul 2021 12:16:33 +0000 (UTC)
commit 3c219495384e77c996154945164e867bc043fcb1
Author: Evangelos Ribeiro Tzaras <evangelos tzaras puri sm>
Date: Wed Jun 2 20:42:50 2021 +0200
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 03590fba..fb2da480 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]