diff options
author | Colomban Wendling <[email protected]> | 2023-11-15 15:29:15 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-11-21 20:19:58 +0000 |
commit | 5da3bf92a500d5ad4dbd0835472fa0abbf1a5c2c (patch) | |
tree | bea8f637a95ff426873ae2cc92449a0282345554 | |
parent | 31f2b7e8f1f3efbd83715ed9acddb310edde4423 (diff) | |
download | mate-panel-5da3bf92a500d5ad4dbd0835472fa0abbf1a5c2c.tar.bz2 mate-panel-5da3bf92a500d5ad4dbd0835472fa0abbf1a5c2c.tar.xz |
Return a value even after an assertion failure
This is not strictly needed as there's already an assertion (assuming
it's not compiled out), but returning a value help analyzers get this
right.
-rw-r--r-- | mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c index e4a04808..99346221 100644 --- a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c +++ b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c @@ -70,7 +70,7 @@ get_mate_panel_applet_orient (PanelOrientation orientation) return 2; default: g_assert_not_reached (); - break; + return 0; } } |