summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index d7af1e9..8600136 100644
--- a/menu.c
+++ b/menu.c
@@ -202,6 +202,7 @@ static void menu_render(Ted *ted, Menu menu) {
return;
}
switch (menu) {
+ case MENU_NONE: assert(0); break;
case MENU_WARN_UNSAVED: {
char title[64] = {0}, body[1024] = {0};
strbuf_printf(title, "Save changes?");