[gnome-applets/wip/muktupavels/werror] mini-commander: fix -Wswitch-default warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/muktupavels/werror] mini-commander: fix -Wswitch-default warning
- Date: Sat, 4 Apr 2020 20:54:36 +0000 (UTC)
commit b61a9bd4186d41183a5b3f1558f68497a923fd82
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Apr 4 22:17:35 2020 +0300
mini-commander: fix -Wswitch-default warning
gnome-applets/mini-commander/command-line.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gnome-applets/mini-commander/command-line.c b/gnome-applets/mini-commander/command-line.c
index 5792e3c47..11c5623b5 100644
--- a/gnome-applets/mini-commander/command-line.c
+++ b/gnome-applets/mini-commander/command-line.c
@@ -414,6 +414,10 @@ mc_show_history (GtkWidget *widget,
case GTK_POS_LEFT:
x += width;
break;
+
+ default:
+ g_assert_not_reached ();
+ break;
}
screen_width = gdk_screen_width ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]