Commit 4657acd4 authored by Rafaël Carré's avatar Rafaël Carré

ncurses: remove "default: break;" from switches

parent fbb4f13f
...@@ -1688,8 +1688,6 @@ static int HandleKey(intf_thread_t *p_intf) ...@@ -1688,8 +1688,6 @@ static int HandleKey(intf_thread_t *p_intf)
if (p_sys->i_box_start >= p_sys->i_box_lines_total) if (p_sys->i_box_start >= p_sys->i_box_lines_total)
p_sys->i_box_start = p_sys->i_box_lines_total - 1; p_sys->i_box_start = p_sys->i_box_lines_total - 1;
return 1; return 1;
default:
break;
} }
} }
else if (p_sys->i_box_type == BOX_NONE) else if (p_sys->i_box_type == BOX_NONE)
...@@ -1711,9 +1709,6 @@ static int HandleKey(intf_thread_t *p_intf) ...@@ -1711,9 +1709,6 @@ static int HandleKey(intf_thread_t *p_intf)
case KEY_DOWN: case KEY_DOWN:
ChangePosition(p_intf, -0.05); ChangePosition(p_intf, -0.05);
return 1; return 1;
default:
break;
} }
} }
else if (p_sys->i_box_type == BOX_SEARCH) else if (p_sys->i_box_type == BOX_SEARCH)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment