[gnome-panel/wip-warnings: 5/6] panel-struts.c: add default case in switch
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip-warnings: 5/6] panel-struts.c: add default case in switch
- Date: Mon, 24 Feb 2020 15:10:05 +0000 (UTC)
commit 0b4dcb9e2da2b6c7b8de22dfb86c27824bde60d5
Author: Sebastian Geiger <sbastig gmx net>
Date: Mon Feb 24 15:51:01 2020 +0100
panel-struts.c: add default case in switch
gnome-panel/panel-struts.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gnome-panel/panel-struts.c b/gnome-panel/panel-struts.c
index 834d1370d..21c378f95 100644
--- a/gnome-panel/panel-struts.c
+++ b/gnome-panel/panel-struts.c
@@ -436,6 +436,9 @@ panel_struts_register_strut (PanelToplevel *toplevel,
strut->geometry.width = strut->strut_size;
strut->geometry.height = strut->strut_end - strut->strut_start + 1;
break;
+ default:
+ g_assert_not_reached ();
+ break;
}
if (new_strut)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]