[gnome-panel/wip-warnings: 4/5] panel-struts.c: add default case in switch



commit 963d7708a36a4a280cf05347465bc2214fb57780
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 f0130c663..709113b10 100644
--- a/gnome-panel/panel-struts.c
+++ b/gnome-panel/panel-struts.c
@@ -440,6 +440,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]